How long should we wait to see errors in the dashboard?
leroy30
Posted on
Oct 19 2014
I'm still struggling with this.
Before I saw that the errors didn't show immediately within the dashboard; which leads to uncertainty when trying to test.
How long should we wait before we can be certain our test exceptions were not successfully sent?
jeremy
Raygun
Posted on
Oct 20 2014
For a newly created application errors should show up within 2 minutes, for an existing application where you have been sending errors you should see the new occurrences appear within a minute.
Jeremy
leroy30
Posted on
Oct 24 2014
Thanks; clearly the error was not being sent!
I have yet to ascertain why, but this seems to frequently happen from new threads.
For example:
new Thread(()=> {
RaygunClient.Send...;
}).Start();
Doesn't always work with Xamarin.Android
Jason Fauchelle
Raygun
Posted on
Oct 29 2014
Hi Leroy,
Thanks for reporting this, I will be looking into this soon.
One thing to make sure is that you don't send exceptions in a thread if the exception causes the app to crash. If the exception causes the app to crash, then the main thread will generally stop before Raygun completes the send in the separate thread. Once the main thread stops, all the other threads will stop before completing.
So if the exception is caught in a try/catch block, then it is fine to send in background, but if the exception is unhandled and will crash the app, then make sure not to send in background.
-Jason Fauchelle
Jason Fauchelle
Raygun
Posted on
Oct 31 2014
Hi Leroy,
I have looked into this and tried sending an exception from within a Thread using the code you posted. This is working fine at our end (As long as the exception doesn't go unhandled and crash the application as mentioned previously). If this is still an issue at your end, please send us a repro project or code samples to reproduce this issue. Once we can reproduce this we'll be able to solve this for you. Also, if you're not doing anything else other than sending exceptions within the thread, you may find the RaygunClient.SendInBackground methods useful.
Hope to hear from you soon so we can sort this out.
-Jason Fauchelle