Skip to content

Commit 50d35a9

Browse files
committed
#1888 empty cell getNum error handling
1 parent 0cf17f9 commit 50d35a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/io/p5.TableRow.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +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)');
145146
}
146147
return ret;
147148
};

0 commit comments

Comments
 (0)