diff --git a/gnucash/report/report-gnome/window-report.c b/gnucash/report/report-gnome/window-report.c index d884df647c..077650584c 100644 --- a/gnucash/report/report-gnome/window-report.c +++ b/gnucash/report/report-gnome/window-report.c @@ -274,10 +274,16 @@ gnc_html_report_stream_cb (const char *location, char ** data, int *len) if (!ok) { + SCM captured = scm_c_eval_string ("gnc:last-captured-error"); + gchar *captured_str = gnc_scm_to_utf8_string(captured); + *data = g_strdup_printf ("
%s
", + "%s
%s