Skip to content

Commit

Permalink
log connector's stack trace directly as a message
Browse files Browse the repository at this point in the history
  • Loading branch information
yurii-bidiuk committed Aug 26, 2022
1 parent e1f50ce commit eaa7704
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

package io.airbyte.integrations.base;

import org.apache.commons.lang3.exception.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -23,7 +24,7 @@ public void uncaughtException(Thread t, Throwable e) {
// the sync."
// from the spec:
// https://docs.google.com/document/d/1ctrj3Yh_GjtQ93aND-WH3ocqGxsmxyC3jfiarrF6NY0/edit#
LOGGER.error(logMessage, e);
LOGGER.error(logMessage + ExceptionUtils.getStackTrace(e));
AirbyteTraceMessageUtility.emitSystemErrorTrace(e, logMessage);
terminate();
}
Expand Down

0 comments on commit eaa7704

Please sign in to comment.