From 00fb53e0bf304051020d3206f7feab83790c1cc9 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Wed, 6 Jan 2021 22:09:18 +0800 Subject: [PATCH] [gnc-report] dump backtrace to console when report crashes because gnc:backtrace-if-exception, not used anymore, would dump guile backtrace to console. restore this behaviour. --- gnucash/report/gnc-report.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnucash/report/gnc-report.c b/gnucash/report/gnc-report.c index c8ed10c15b..14b4dafb61 100644 --- a/gnucash/report/gnc-report.c +++ b/gnucash/report/gnc-report.c @@ -230,6 +230,7 @@ gnc_run_report_with_error_handling (gint report_id, gchar ** data, gchar **errms { *errmsg = gnc_scm_to_utf8_string (captured_error); *data = NULL; + PWARN ("Error in report: %s", *errmsg); return FALSE; } }