Skip to content

Commit

Permalink
Adds catch for Throwables in job analyzers
Browse files Browse the repository at this point in the history
  • Loading branch information
froque committed Mar 4, 2022
1 parent 04e2dd5 commit 08aaf13
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Map<PluginWrapper, JobsPerPlugin> getJobsPerPlugin()
}
}
} catch(Exception e){
LOGGER.warning("Exception catched: " + e );
LOGGER.warning("Exception caught: " + e );
}
}

Expand All @@ -66,7 +66,9 @@ public Map<PluginWrapper, JobsPerPlugin> getJobsPerPlugin()
addItem(item, plugin);
}
} catch(Exception e){
LOGGER.warning("Exception catched: " + e );
LOGGER.warning("Exception caught in job " + item.getFullName() + ": " + e );
} catch (Throwable e){
LOGGER.severe("Exception caught in job " + item.getFullName() + ": " + e );
}
}
}
Expand Down

0 comments on commit 08aaf13

Please sign in to comment.