mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
[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:
parent
47030c7654
commit
d56a47f17a
@ -69,7 +69,8 @@
|
|||||||
(display captured-error (current-error-port))
|
(display captured-error (current-error-port))
|
||||||
(set! gnc:last-captured-error (gnc:html-string-sanitize captured-error))
|
(set! gnc:last-captured-error (gnc:html-string-sanitize captured-error))
|
||||||
(when (defined? 'gnc:warn)
|
(when (defined? 'gnc:warn)
|
||||||
(gnc:warn captured-error)))
|
(gnc:warn captured-error))
|
||||||
|
#f)
|
||||||
(else result))))
|
(else result))))
|
||||||
|
|
||||||
(define-public gnc:last-captured-error "")
|
(define-public gnc:last-captured-error "")
|
||||||
|
Loading…
Reference in New Issue
Block a user