File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
common/scala/src/main/scala/org/apache/openwhisk/core/connector Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import scala.util.Failure
2626import org .apache .kafka .clients .consumer .CommitFailedException
2727import akka .actor .FSM
2828import akka .pattern .pipe
29+ import org .apache .commons .lang3 .exception .ExceptionUtils
2930import org .apache .openwhisk .common .Logging
3031import org .apache .openwhisk .common .TransactionId
3132
@@ -216,7 +217,8 @@ class MessageFeed(description: String,
216217 handler(bytes).andThen {
217218 {
218219 case Failure (e) =>
219- logging.error(this , s " Failed to process message for topic $topic : $e (stack trace included) " )
220+ val stacktrace = ExceptionUtils .getStackTrace(e)
221+ logging.error(this , s " Failed to process message for topic $topic : $e : stacktrace: $stacktrace" )
220222 e.printStackTrace()
221223 }
222224 }
You can’t perform that action at this time.
0 commit comments