Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
small fix
  • Loading branch information
bpisano committed Jan 23, 2022
1 parent 443806f commit 5e643ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resemble.js
Expand Up @@ -322,7 +322,7 @@ var isNode = function () {
if (event.path && event.path[0]) {
images.push({ error: `Failed to load image: ${event.path[0].currentSrc}`})
} else {
images.push({ error: err ? `Failed to load image with error: ${event}` : "Failed to load image. Unknown error." });
images.push({ error: event ? `Failed to load image with error: ${event}` : "Failed to load image. Unknown error." });
}
callback();
};
Expand Down

0 comments on commit 5e643ae

Please sign in to comment.