[c-interface] gnc:backtrace-if-exception returns #f if error

previous would return *unspecified* when error was captured.
old code seems to expect #f to signal error
pull/599/head
Christopher Lam 7 years ago
parent 47030c7654
commit d56a47f17a

@ -69,7 +69,8 @@
(display captured-error (current-error-port))
(set! gnc:last-captured-error (gnc:html-string-sanitize captured-error))
(when (defined? 'gnc:warn)
(gnc:warn captured-error)))
(gnc:warn captured-error))
#f)
(else result))))
(define-public gnc:last-captured-error "")

Loading…
Cancel
Save