Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dagansandler/a765b1f0e1c0826bd84f9383adc2c39d to your computer and use it in GitHub Desktop.
Save dagansandler/a765b1f0e1c0826bd84f9383adc2c39d to your computer and use it in GitHub Desktop.
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()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment