Example #1
0
 private void OnEntryException(JaevnerExceptionEventArgs args)
 {
     if (EntryException != null)
     {
         EntryException(this, args);
     }
 }
Example #2
0
        private void ServiceOnEntryException(object sender, JaevnerExceptionEventArgs args)
        {
            string msg = string.Format("Exception for {0} entry {1} on {2}: {3}", args.Action, args.Entry.Title, args.Entry.StartDateTime.ToString("yyyy-MM-dd HH:mm"), args.Exception);

            Console.WriteLine(msg);
        }