summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-11-04 11:15:53 +0100
committerGubolin <gubolin@fantasymail.de>2014-11-04 11:15:53 +0100
commite974613563ef68e772ce31805a168003e84a21c0 (patch)
treeca14bc4cb6e230bba4a1f6813bb99ddee69422b3
parent7ca756e509c8a53bc93d43cc9366e19789c0d697 (diff)
downloadsnap-errorHandling_issue533.tar.gz
snap-errorHandling_issue533.zip
don't throw an error if a list is not a ListerrorHandling_issue533
-rw-r--r--threads.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/threads.js b/threads.js
index e225fd9..4e5a394 100644
--- a/threads.js
+++ b/threads.js
@@ -683,8 +683,6 @@ Process.prototype.doYield = function () {
Process.prototype.checkIfList = function (maybeList) {
if (!(maybeList instanceof List)) {
- var error = {name: 'list error', message: 'expecting a list'};
- this.handleError(error);
maybeList = new List();
}
return maybeList;