aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Key.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-04-25 08:54:24 +0000
committerMaximilian Krambach <[email protected]>2018-04-25 08:54:24 +0000
commitc72adc00965fe4fcedd9d18609211021a091b28b (patch)
treeaf1cc5df7da410f42f2762da9b03b5ca3d39087d /lang/js/src/Key.js
parentjs: allow openpgp-like Message objects as Data (diff)
downloadgpgme-c72adc00965fe4fcedd9d18609211021a091b28b.tar.gz
gpgme-c72adc00965fe4fcedd9d18609211021a091b28b.zip
js: change in Error behaviour
-- * Error objects will now return the error code if defined as error type in src/Errors.js, or do a console.log if it is a warning. Errors from the native gpgme-json will be marked as GNUPG_ERROR.
Diffstat (limited to 'lang/js/src/Key.js')
-rw-r--r--lang/js/src/Key.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/js/src/Key.js b/lang/js/src/Key.js
index f59b9901..5ae80438 100644
--- a/lang/js/src/Key.js
+++ b/lang/js/src/Key.js
@@ -172,7 +172,7 @@ export class GPGME_Key {
*
*/
function checkKey(fingerprint, property){
- return Promise.reject(new GPGMEJS_Error('NOT_YET_IMPLEMENTED'));
+ return Promise.reject(GPGMEJS_Error('NOT_YET_IMPLEMENTED'));
return new Promise(function(resolve, reject){
if (!isFingerprint(fingerprint)){