Skip to content

Instantly share code, notes, and snippets.

@anddam
Created January 14, 2021 23:58
Show Gist options
  • Save anddam/88bf1ce2734af3b5a099b7b292572b07 to your computer and use it in GitHub Desktop.
Save anddam/88bf1ce2734af3b5a099b7b292572b07 to your computer and use it in GitHub Desktop.
try:
value = SomethingThatCouldBreakAndThereforeProbablyWill()
except Exception:
log.exception("SHTF")
# return None
return value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment