-
Notifications
You must be signed in to change notification settings - Fork 388
Open
Description
Currently, the logger flush operation in the StatementExecutor class (or related logging class) uses an auto-generated catch block that simply calls e.printStackTrace(). This provides minimal context when errors occur and can hinder effective debugging.
Proposed Changes:
Replace the generic e.printStackTrace() with a meaningful error message using System.err.println(...).
Retain the stack trace for development, but add context about where the error occurred.
Improve maintainability and clarity of exception handling.
Optional: Wrap the exception in a RuntimeException if the error is critical.
Metadata
Metadata
Assignees
Labels
No labels
