Elmah not storing stack trace when Facebook C# SDK throws Exception?

I believe this was caused by the override we had on FacebookApiException.ToString(). I removed the override. If you want, download the current source and give that a try.

Let me know if it solved the issue.

Thanks Nathan. That was exactly the problem. I'm now getting the full stack trace stored in Elmah.

BTW, I had to modify the source code for Beta 5.06 to do this test because as soon as I threw a FacebookApiException() in Change Set 4927605c3ca6 (e.g. Even as simple as throw new FacebookApiException("this is a test")), I got a stackoverlow exception. – JohnnyO Mar 20 '11 at 5:15 Great. I will check out the other error, I threw that code in there late last night, so it probably needs to be cleaned up.

– Nathan Totten Mar 20 '11 at 16:05.

If you are using the HandleError Attribute, you'll find this question really useful. ELMAH and HandleError.

Thanks. I'm not using the HandleError attribute, but I'll have a look at that question. – JohnnyO Mar 18 '11 at 15:09.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions