tomboy r2315 - in trunk: . Tomboy/Addins/PrintNotes



Author: sharm
Date: Mon Feb  2 07:21:11 2009
New Revision: 2315
URL: http://svn.gnome.org/viewvc/tomboy?rev=2315&view=rev

Log:
* Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs: Better logged
  error on print failure.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs

Modified: trunk/Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs
==============================================================================
--- trunk/Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs	(original)
+++ trunk/Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs	Mon Feb  2 07:21:11 2009
@@ -77,7 +77,7 @@
 					print_op.Run (Gtk.PrintOperationAction.PrintDialog, Window);
 				}
 			} catch (Exception e) {
-				Logger.Error (e.ToString ());
+				Logger.Error ("Exception while printing " + Note.Title + ": " + e.ToString ());
 				HIGMessageDialog dlg = new HIGMessageDialog (Note.Window,
 					Gtk.DialogFlags.Modal,
 					Gtk.MessageType.Error,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]