[mono/monodevelop] e8b4751b: [Core] Send full system information to Raygun in a custom data attribute.

"Cody Russell ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141dc6b9f10-2ff37fd7-a51c-4767-a57a-a0b2552135a2-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/0e449709a79c...e8b4751b9b01

   Commit: e8b4751b9b01f281478e07e4c17b660aef746d25
   Author: Cody Russell <[email protected]> (bratsche)
     Date: 2013-10-21 19:07:40 GMT
      URL: https://github.com/mono/monodevelop/commit/e8b4751b9b01f281478e07e4c17b660aef746d25

[Core] Send full system information to Raygun in a custom data attribute.

Changed paths:
  M main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs

Modified: main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs
===================================================================
@@ -27,6 +27,7 @@
 //
 
 using System;
+using System.Collections;
 using System.Collections.Generic;
 using System.IO;
 using System.Net;
@@ -194,9 +195,12 @@ internal static void ReportUnhandledException (Exception ex, bool willShutDown,
 					data = stream.ToArray ();
 				}
 
+				var customData = new Hashtable ();
+				customData["SystemInformation"] = SystemInformation.GetTextDescription ();
+
 				if (raygunClient != null) {
 					ThreadPool.QueueUserWorkItem (delegate {
-						raygunClient.Send (ex, tags, BuildInfo.Version);
+						raygunClient.Send (ex, tags, customData, BuildInfo.Version);
 					});
 				}
 


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.