Skip to content

Commit

Permalink
MID-7777 fix assignments panel loading, improved error messages, loca…
Browse files Browse the repository at this point in the history
…lization

(cherry picked from commit ca5db59)
  • Loading branch information
1azyman committed Apr 1, 2022
1 parent 082eab1 commit 23cc6af
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,11 @@ public void replacePanel(ContainerPanelConfigurationType config, AjaxRequestTarg
target.add(form);
target.add(getFeedbackPanel());
} catch (Throwable e) {
error("Cannot instantiate panel, " + e.getMessage());
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Can't instantiate panel based on config\n {}", config.debugDump(), e);
}

error(getString("AbstractPageObjectDetails.replacePanelException", e.getMessage(), e.getClass().getSimpleName()));
target.add(getFeedbackPanel());
}
}
Expand Down

0 comments on commit 23cc6af

Please sign in to comment.