Skip to content

Commit

Permalink
Updated log handling
Browse files Browse the repository at this point in the history
  • Loading branch information
swesteme committed Nov 22, 2024
1 parent 66db7e8 commit 2877806
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ private <T> List<String> processUpdateHandler(@NotNull Project project, UpdateHa
try {
return updateHandler.updateConfiguration(extensionConfiguration.get(), project);
} catch (Exception e) {
LOG.error("An error occurred trying to process configuration updates for \"{}\"", e,
updateHandler.getUpdaterName());
Notifications.showError(
"An error occurred trying to process configuration updates for \"" + updateHandler.getUpdaterName() + "\"",
project);
String errorMessage = "An error occurred trying to process configuration updates for \"" + updateHandler.getUpdaterName() + "\"";
LOG.error(errorMessage, e);
Notifications.showError(errorMessage, project);
}
} else {
LOG.info("No configuration for " + updateHandler.getUpdaterName() + " found.");
Expand Down

0 comments on commit 2877806

Please sign in to comment.