fix and add more tests to Compat

This commit is contained in:
Matias Alejo Garcia 2014-10-29 08:34:07 -03:00
commit 4522626544
3 changed files with 32 additions and 15 deletions

View file

@ -61,7 +61,7 @@ module.exports = {
try {
return sjcl.decrypt(key, cyphertext);
} catch (e) {
log.error('Decryption failed due to error: ' + e.message);
log.info('Decryption failed due to error: ' + e.message);
return null;
}
}