Skip to content

Instantly share code, notes, and snippets.

@johnlundberg
Created February 14, 2014 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlundberg/9002683 to your computer and use it in GitHub Desktop.
Save johnlundberg/9002683 to your computer and use it in GitHub Desktop.
When an empty catch-block isn't bad enough
try
{
...
}
catch (Exception e)
{
Debug.Assert(null != e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment