Github user takezoe commented on a diff in the pull request: https://github.com/apache/incubator-predictionio/pull/421#discussion_r134399760 --- Diff: data/src/main/scala/org/apache/predictionio/data/storage/Storage.scala --- @@ -461,4 +463,11 @@ object Storage extends Logging { }.getOrElse(Map.empty) } ) + + def getStackTraceString(e: Throwable): String = { --- End diff -- You can get stacktrace from an exception using `ExceptionUtils` of commons-lang3. ```scala import org.apache.commons.lang3.exception.ExceptionUtils val stackTrace = ExceptionUtils.getStackTrace(e) ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---