mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[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.
This commit is contained in:
parent
ae1e27147f
commit
00fb53e0bf
@ -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);
|
*errmsg = gnc_scm_to_utf8_string (captured_error);
|
||||||
*data = NULL;
|
*data = NULL;
|
||||||
|
PWARN ("Error in report: %s", *errmsg);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user