Commit d9d5519b authored by Romain Courteaud's avatar Romain Courteaud

CryptStorage: stop hidding errors

parent 168b7c44
...@@ -55,10 +55,6 @@ ...@@ -55,10 +55,6 @@
that._key = res; that._key = res;
that._jsonKey = false; that._jsonKey = false;
return; return;
}, function () {
throw new TypeError(
"'key' must be a CryptoKey to JSON Web Key format"
);
}); });
} }
...@@ -170,7 +166,7 @@ ...@@ -170,7 +166,7 @@
} }
throw error; throw error;
} }
}, function () { return blob; }); });
}); });
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment