Beispiel #1
0
 // Token: 0x06000412 RID: 1042 RVA: 0x0000489F File Offset: 0x00002A9F
 public static void Error(Exception exception, string info = null)
 {
     if (!string.IsNullOrEmpty(info))
     {
         exception.Data["Info"] = info;
     }
     ParticleLogger.CaptureException(exception, Assembly.GetCallingAssembly());
 }
Beispiel #2
0
        // Token: 0x06000411 RID: 1041 RVA: 0x0001D984 File Offset: 0x0001BB84
        public static void Error(string message, string info = null)
        {
            O9KException ex = new O9KException(message);

            if (!string.IsNullOrEmpty(info))
            {
                ex.Data["Info"] = info;
            }
            ParticleLogger.CaptureException(ex, Assembly.GetCallingAssembly());
        }
Beispiel #3
0
 // Token: 0x06000413 RID: 1043 RVA: 0x0001D9BC File Offset: 0x0001BBBC
 public static void Error(Exception exception, Entity entity, string info = null)
 {
     if (entity != null)
     {
         exception.Data[entity.GetType().Name] = new EntityExceptionData(entity);
     }
     else
     {
         exception.Data["Entity"] = "null";
     }
     if (!string.IsNullOrEmpty(info))
     {
         exception.Data["Info"] = info;
     }
     ParticleLogger.CaptureException(exception, Assembly.GetCallingAssembly());
 }