mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
gpgscm: Tweak error message display.
* tests/gpgscm/init.scm (throw'): If the first argument to the error is a string, display it as such. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
06a177ceea
commit
78547bfe8a
@ -613,8 +613,13 @@
|
||||
(quit (cadr args)))
|
||||
(else
|
||||
(display message)
|
||||
(if args (begin
|
||||
(display ": ")
|
||||
(when (and args (not (null? args)))
|
||||
(display ": ")
|
||||
(if (string? (car args))
|
||||
(begin (display (car args))
|
||||
(unless (null? (cdr args))
|
||||
(newline)
|
||||
(write (cdr args))))
|
||||
(write args)))
|
||||
(newline)
|
||||
(vm-history-print history)
|
||||
|
Loading…
x
Reference in New Issue
Block a user