Created
February 15, 2018 08:14
-
-
Save HamidMosalla/499f250b30668497c4cd4dcc00d8e9f8 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
try | |
{ | |
throw new InvalidOperationException("Exception message"); | |
} | |
catch (ArgumentNullException e) | |
{ | |
_logger.LogError(e.Message, e.InnerException); | |
return View("Index"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment