Add more descriptive message to exception logs

This commit is contained in:
Markus Ebenhoeh 2015-12-02 18:54:26 +11:00
parent 6cbec65184
commit 8d5566bc8f
1 changed files with 2 additions and 2 deletions

View File

@ -712,9 +712,9 @@ public class GitLabPushTrigger extends Trigger<Job<?, ?>> {
}
}
} catch (final IllegalStateException ex) {
LOGGER.log(Level.FINEST, "Ka-Boom!", ex);
LOGGER.log(Level.FINEST, "Unexpected IllegalStateException. Please check the logs and your configuration.", ex);
} catch (final IOException ex) {
LOGGER.log(Level.FINEST, "Ka-Boom!", ex);
LOGGER.log(Level.FINEST, "Unexpected IllegalStateException. Please check the logs and your configuration.", ex);
}
return ac;