Esempio n. 1
0
 public static void PostException(object obj)
 {
     try
     {
         BuglyAgentHelper.PostCatchedException(new Java.Lang.Throwable(JsonConvert.SerializeObject(obj, Formatting.None, new JsonSerializerSettings()
         {
             ReferenceLoopHandling = ReferenceLoopHandling.Ignore
         })));
     }
     catch (System.Exception ex)
     {
         PostException(ex);
     }
 }
Esempio n. 2
0
 public static void PostException(System.Exception ex) => BuglyAgentHelper.PostCatchedException(new Java.Lang.Throwable(ex.ToString()));