Skip to content

Instantly share code, notes, and snippets.

View LiorHalfon's full-sized avatar

Lior LiorHalfon

  • Israel
View GitHub Profile
@LiorHalfon
LiorHalfon / common-try-catch.java
Last active November 9, 2022 12:06
A common try catch block
try {
//Block of code to try
}
catch(Exception e) {
logger.error("Got an exception, context: %s", e, context);
}