Fix signing when put a wrong password. Fixes #297

This commit is contained in:
Gustavo Cortez 2014-05-06 17:57:16 -03:00
commit ab9be793cb
3 changed files with 13 additions and 4 deletions

View file

@ -54,7 +54,7 @@ Storage.prototype._read = function(k) {
}
} catch (e) {
console.log('Error while decrypting: '+e);
throw e;
return null;
};
return ret;