Prevent hard to reproducable stacktraces from being swallowed.
This commit is contained in:
parent
f96f7d82c5
commit
fc834036a0
1 changed files with 2 additions and 3 deletions
|
@ -185,9 +185,8 @@ public class NetworkEventBus
|
|||
catch( final Throwable e1 )
|
||||
{
|
||||
AELog.error( "[AppEng] Network Event caused exception:" );
|
||||
AELog.error( "Offending Class: " + obj.getClass().getName() );
|
||||
AELog.error( "Offending Object: " + obj.toString() );
|
||||
AELog.debug( e1 );
|
||||
AELog.error( "Class: %1s, Object: %2s", obj.getClass().getName(), obj.toString() );
|
||||
AELog.info( e1 );
|
||||
throw new IllegalStateException( e1 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue