[FOLIO-749] use exception handler in vertx Created: 31/Jul/17  Updated: 02/Feb/21  Resolved: 07/Oct/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Julian Ladisch Assignee: Julian Ladisch
Resolution: Done Votes: 0
Labels: keep-bug, platform-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by RMB-623 Log exceptions that were not caught i... Open
is blocked by RMB-49 use exceptionHandler in vertx Closed
Sprint:
Development Team: Core: Platform

 Description   

If an exception is thrown in any async callback handler vertx ignores it without logging. Such an uncaught exception often results in a timeout of the current request. It should be fixed by catching the exception and producing an error request reply.

To find the cause proper logging is needed.

Task:

For each vertx add an exception handler that logs the exception.

Modules that use RMB may invoke VertxUtils.getVertxWithExceptionHandler().
See https://vertx.io/docs/apidocs/io/vertx/core/Context.html#exceptionHandler-io.vertx.core.Handler- and https://vertx.io/docs/apidocs/io/vertx/core/Vertx.html#exceptionHandler-io.vertx.core.Handler-



 Comments   
Comment by Jakub Skoczen [ 07/Oct/20 ]

Julian Ladisch I assume this is done since there is a merged PR, please re-open if still relevant.

Generated at Thu Feb 08 23:08:03 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.