Last active
August 29, 2015 14:00
-
-
Save csadilek/448831e58680944a76ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@UncaughtException | |
private void onUncaughtException(Throwable caught) { | |
try { | |
throw caught; | |
} | |
catch (UserNotAuthenticatedException e) { | |
// navigate to login dialog | |
} | |
catch (Throwable t) { | |
logger.error("An unexpected error has occurred", t); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment