Skip to content

Commit 0d4a9d0

Browse files
authored
Change eval error message
1 parent 443b99b commit 0d4a9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

puck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ Or more advanced usage with control of the connection
408408
return JSON.parse(d);
409409
} catch (e) {
410410
log(1, "Unable to decode " + JSON.stringify(d) + ", got " + e.toString());
411-
return Promise.reject("Unable to decode " + JSON.stringify(d) + ", got " + e.toString());
411+
return Promise.reject(d);
412412
}
413413
});
414414

0 commit comments

Comments
 (0)