Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Commit

Permalink
fix: error info formatting
Browse files Browse the repository at this point in the history
closes #485
  • Loading branch information
kbychkov committed Apr 12, 2020
1 parent d585365 commit 7ee1b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cache-backend-fs.js
Expand Up @@ -196,7 +196,7 @@ FSBackend.prototype.setItem = function(queueObject, data, callback) {
// Just overwrite the file...
writeFileData(currentPath, data);
} else {
throw new Error("Cache storage of resource (%s) blocked by file: %s", queueObject.url, currentPath);
throw new Error(`Cache storage of resource (${queueObject.url}) blocked by file: ${currentPath}`);
}
}
} else if (count === pathStack.length - 1) {
Expand Down

0 comments on commit 7ee1b5e

Please sign in to comment.