Skip to content

DRILL-4695: Log error thrown from drillbit.run#535

Closed
chunhui-shi wants to merge 0 commit intoapache:masterfrom
chunhui-shi:errexit
Closed

DRILL-4695: Log error thrown from drillbit.run#535
chunhui-shi wants to merge 0 commit intoapache:masterfrom
chunhui-shi:errexit

Conversation

@chunhui-shi
Copy link
Contributor

No description provided.

try {
bit.run();
} catch (final Exception e) {
logger.error("Failure during initial startup of Drillbit.\n[{}]", ErrorHelper.buildCausesMessage(e));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest using logger.error("Failure during initial startup of Drillbit.", e); Log parsers like Lilith use the exception field, and changes to ErrorHelper aren't required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants