checksum fail message undefined, app.use() duplicate

This commit is contained in:
Omar Brikaa 2022-01-22 18:56:33 +02:00
parent 20e71f617b
commit 3372ca1954
2 changed files with 3 additions and 2 deletions

View file

@ -80,7 +80,9 @@ class Package {
const cs = hash.digest('hex');
if (cs !== this.checksum) {
throw new Error(`Checksum miss-match want: ${val} got: ${cs}`);
throw new Error(
`Checksum miss-match want: ${this.checksum} got: ${cs}`
);
}
logger.debug(