passing xml to custom data

eoldre

Posted on
May 30 2014

We'd like to include some custom xml data along with the exception in the error message that we send to the raygun server. I've tried the following technique, showing some example xml. In practice the sent xml will be much more complex. Essentially showing the "model" in an MVVM WPF application in C#.

enter image description here

You can see that the data is uploaded correctly below on the "raw data" view. However, we are not able to extract what we need from the 'raw data' view directly because carriage returns are escaped, so if we cut and paste from this page we'd end up with '\r\n' instead of an actual carriage return.

enter image description here

When viewing the data in the 'Custom' tab. We can see that while the carriage returns have been preserved, all of the markup and element attributes have been removed.

enter image description here

What we need is some what to send our XML to Raygun and be able to get it off the raygun dashboard as it originally was. Ideally we could download a raw file, but even if the markup was preserved in the "custom" tab that would server our purposes well.

Is there a way that we can accomplish this with the existing toolset? If not are there plans to support this in the future?

Thanks for you help!


Callum

Posted on
Jun 09 2014

Apologies for the delay in replying, this issue was in fact fixed in the web app on May 30th. You will notice that the raw XML is now displayed correctly in the Custom tab, next to the 'user' key, with line breaks as expected.

Any more queries or issue feel free to let us know.

Regards,

Callum Gavin
Mindscape Limited


Reply