fix c/p error

This commit is contained in:
Bruno Windels 2020-08-19 16:14:10 +02:00
parent 6abdcd6b58
commit cc1f35a074

View file

@ -38,7 +38,7 @@ export class StorageError extends Error {
fullMessage += `(name: ${cause.name}) `;
}
if (typeof cause.code === "number") {
fullMessage += `(code: ${cause.name}) `;
fullMessage += `(code: ${cause.code}) `;
}
}
if (value) {