diff options
author | Maximilian Krambach <[email protected]> | 2018-05-08 16:33:41 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-05-08 16:33:41 +0000 |
commit | cca40627b0afa2efc85ef7f5f1a1060a221ff2a2 (patch) | |
tree | a77afbd90849bf2da0675e14c0cd41668b32ba56 /lang/js/src/Errors.js | |
parent | js: fixing errors found by testing: encrypt/decrypt (diff) | |
download | gpgme-cca40627b0afa2efc85ef7f5f1a1060a221ff2a2.tar.gz gpgme-cca40627b0afa2efc85ef7f5f1a1060a221ff2a2.zip |
js: more testing
--
* Tests: Under certain circumstances, some data change during
encrypt-decrypt. Committing the current state so the problem can be
discussed.
* Fixes:
- disconnecting the test ports after tests are complete
- fixed passing of the error message from gpgme-json
Diffstat (limited to 'lang/js/src/Errors.js')
-rw-r--r-- | lang/js/src/Errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/js/src/Errors.js b/lang/js/src/Errors.js index d26aab18..b71004a5 100644 --- a/lang/js/src/Errors.js +++ b/lang/js/src/Errors.js @@ -110,7 +110,7 @@ export function gpgme_error(code = 'GENERIC_ERROR', info){ } return null; } else if (code === 'GNUPG_ERROR'){ - return new GPGME_Error(code, info.msg); + return new GPGME_Error(code, info); } else { return new GPGME_Error('GENERIC_ERROR'); |