[aisleriot] Print exception to stderr



commit 9944ee06adbf39bf7595549bfc3db7d56544abcc
Author: Christian Persch <chpe gnome org>
Date:   Sat Apr 16 12:56:37 2011 +0200

    Print exception to stderr

 src/window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/window.c b/src/window.c
index 688156b..36b7b94 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2652,7 +2652,9 @@ load_idle_cb (LoadIdleData *data)
          _("This usually occurs when you run an older version of Aisleriot "
            "which does not have the game you last played. "
            "The default game, Klondike, is being started instead."));
-        /* FIXME: add @error->message to a textview in a Detailedâ?¦ expander */
+
+      /* FIXME: add @error->message to a textview in a Detailedâ?¦ expander */
+      g_printerr ("Scheme exception:\n-- 8< --\n%s\n-- >8 --\n", error->message);
 
       g_signal_connect (dialog, "response",
                         G_CALLBACK (load_error_response_cb), data->window);



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