Skip to content

Commit

Permalink
improving error handling on resource content panel
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Sep 23, 2019
1 parent 085dc47 commit 336530e
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -890,8 +890,7 @@ protected void importResourceObject(ShadowType selected, AjaxRequestTarget targe
for (ShadowType shadow : selectedShadows) {
try {
getPageBase().getModelService().importFromResource(shadow.getOid(), task, result);
} catch (ObjectNotFoundException | SchemaException | SecurityViolationException
| CommunicationException | ConfigurationException | ExpressionEvaluationException e) {
} catch (Exception e) {
result.recordPartialError(pageBase.createStringResource("ResourceContentPanel.message.importResourceObject.partialError", shadow).getString(), e);
LOGGER.error("Could not import account {} ", shadow, e);
}
Expand Down

0 comments on commit 336530e

Please sign in to comment.