[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
This commit is contained in:
Christopher Lam 2019-11-03 10:41:05 +08:00
parent 47030c7654
commit d56a47f17a

View File

@ -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 "")