This is a migrated thread and some comments may be shown as answers.

Exception Context Message max length

1 Answer 56 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kevin
Top achievements
Rank 1
Kevin asked on 22 Oct 2013, 04:38 PM
I am trying to log an exception that is returned to the client by WCF.  In this case the Exception is of type System.ServiceModel.FaultException<System.ServiceModel.ExceptionDetail> so it has a Detail property that includes a stacktrace and exception type for what went wrong on the server side.

Since that Detail property is not an Exception (though very similar), I cannot log it to EQATEC (yes, I could or should log in server side, but I want it tied in).

I tried doing a .ToString() on the Detail property and sending that as the context message like: Analytics.TrackException(e.Exception, serverSideExceptionText);

Unfortunately there seems to be an enforced 1k limit on this field where my stacktrace approaches 3k.  Is there a way to increase this limit, or some other idea you have for this situation?

Thanks,
Kevin

1 Answer, 1 is accepted

Sort by
0
Soren
Telerik team
answered on 23 Oct 2013, 08:55 AM
Hi Kevin,

Unfortunately we do not current have any way of reporting an exception which is not an instance of Exception. In our backlog, we have a request for the ability to add an "error" that is not necessarily an exception and allow you to perform some simple grouping of the errors and this seems to match what you are looking for.

There are not ways to increment the 1000 char limitation since this is a restriction that is enforced on the data we are receiving and storing. So I guess your current best bet is to do some trimming to fit into the 1000 chars until we add something like the error functionality described above.

Hope this clarifies things
 
Regards,
Soren
Telerik
JAVASCRIPT MONITOR (BETA) AVAILABLE FOR DOWNLOAD.
Monitor web applications with the new EQATEC Application Analytics JS library. Compatible with all modern browsers.
Test it today >>
Tags
Monitor integration
Asked by
Kevin
Top achievements
Rank 1
Answers by
Soren
Telerik team
Share this question
or