Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    My first thought is that, if you're not careful, you risk causing yet another exception within your catch block. Commented Sep 16, 2014 at 21:35
  • This, as far as I can see, is the only real problem with the approach of logging these variables. Given a compiled language like C# you're not at risk of having invalid value parameters passed in. Logging those seems safe enough, with reference types creating a new exception is a risk. Commented Sep 17, 2014 at 18:19