Skip to content

Commit 731a4d3

Browse files
author
mlarghydracept
committed
Revert "Merge branch 'master' into getNum()-vs-getNumber()-#1885"
This reverts commit 7ac8550, reversing changes made to c72d2f3.
1 parent 7ac8550 commit 731a4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io/p5.TableRow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ p5.TableRow.prototype.getNum = function(column) {
142142
}
143143

144144
if (ret.toString() === 'NaN') {
145-
console.error('Error: ' + this.obj[column]+ ' is NaN (Not a Number)');
145+
throw 'Error: ' + this.obj[column]+ ' is NaN (Not a Number)';
146146
}
147147
return ret;
148148
};

0 commit comments

Comments
 (0)