Preventing NPE after (de)serialization of a LoggingEvent

When making use of a SocketAppender logging events are serialized and de-serialized. Because the throwable field on ThrowableInformation is transient it will not be available for further processing after de-serialization. Causing a NullPointerException.

My change checks if the throwable field is not null before trying to use it.