Exemplo n.º 1
0
        internal static void ReportException(Exception ex, string extra)
        {
            string caughtIn = "unknown" + extra;

            try {
                caughtIn = new System.Diagnostics.StackTrace().GetFrame(1).GetMethod().Name + ' ' + extra;
            } catch {
            }
            SessionLog.ReportException(ex, caughtIn);
        }
Exemplo n.º 2
0
        internal static void ReportException(Exception ex)
        {
            string caughtIn = new System.Diagnostics.StackTrace().GetFrame(1).GetMethod().Name;

            SessionLog.ReportException(ex, caughtIn);
        }