Skip to content

Instantly share code, notes, and snippets.

View dagansandler's full-sized avatar

Dagan Sandler dagansandler

View GitHub Profile
import rp.com.google.common.base.Throwables;
StringBuilder throwable = new StringBuilder();
if (null != event.getThrowableInformation() && null != event.getThrowableInformation().getThrowable()) {
throwable.append(Throwables.getStackTraceAsString(event.getThrowableInformation().getThrowable()));
}