mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgscm: Improve error handling of foreign functions.
* tests/gpgscm/ffi.scm (ffi-fail): Do not needlessly join the error message. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
4c8be58fd4
commit
6639aedaee
@ -36,8 +36,7 @@
|
||||
(define (ffi-fail name args message)
|
||||
(let ((args' (open-output-string)))
|
||||
(write (cons (string->symbol name) args) args')
|
||||
(throw (string-append
|
||||
(get-output-string args') ": " message))))
|
||||
(throw (get-output-string args') message)))
|
||||
|
||||
;; Pseudo-definitions for foreign functions. Evaluates to no code,
|
||||
;; but serves as documentation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user