Integrated: Log warning on wrapped UncheckedRestException

Erik Joelsson erikj at
Mon Feb 28 14:41:02 UTC 2022

On Thu, 24 Feb 2022 22:12:46 GMT, Erik Joelsson <erikj at> wrote:

> In SKARA-1063, I introduced UncheckedRestException in order to avoid logging for errors that are very likely transient, and that are tracked with metrics as well. In some cases, specifically when running Jcheck in a bot, we end up wrapping that exception in a RuntimeException, which in turn causes us to log an error instead of warning. 
> This patch tries to fix this by also checking nested exceptions in when catching RuntimeException in the BotRunner.

This pull request has now been integrated.

Changeset: b97f76f4
Author:    Erik Joelsson <erikj at>
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

Log warning on wrapped UncheckedRestException

Reviewed-by: ihse, kcr



More information about the skara-dev mailing list