Better log in error

This commit is contained in:
vjrj 2018-11-18 15:05:04 +01:00
parent 0f6dd21541
commit df51368d50

View file

@ -147,7 +147,7 @@ export function fireFromHash(fireEnc, params) {
// const unsealed = Promise.await(urlEnc.decrypt(fireEnc));
const unsealed = Promise.await(unsealW(fireEnc));
if (unsealed === undefined) {
throw Error(`Fail to unseal ${fireEnc}`);
throw Error(`Fail to unseal '${fireEnc}'`);
}
const w = unsealed.when;
unsealed.when = new Date(w);