Storing Exception.ToString() in a database column

44 views Asked by At

I've read at multiple locations that using .ToString() on Exception object gives more information when compared to .Message().

However in my case, I want to persist as much information as I can in a column in database for which I am using nvarchar(max) column. I am seeing that my exception detail in this column is being truncated to 256 chars. Am I missing something?

0

There are 0 answers