Last active
November 9, 2022 12:06
-
-
Save LiorHalfon/4e55da8011b54c72cedbe2f1e1651c32 to your computer and use it in GitHub Desktop.
A common try catch block
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
try { | |
//Block of code to try | |
} | |
catch(Exception e) { | |
logger.error("Got an exception, context: %s", e, context); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment