aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clients/qualudis/qualudis.cc14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 131f7ec89..5f6f34b38 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -248,9 +248,17 @@ namespace
printed_keys.insert(&**i);
}
- MetadataKeyPrettyPrinter pp;
- (*i)->accept(pp);
- std::cout << " " << pp.stream.str();
+ try
+ {
+ MetadataKeyPrettyPrinter pp;
+ (*i)->accept(pp);
+ std::cout << " " << pp.stream.str();
+ }
+ catch (const Exception &)
+ {
+ // assume one of the QA checks already
+ // printed a suitable error
+ }
}
}
}