Skip to content

Commit a300d25

Browse files
authored
Update src/dom/dom.js
1 parent 62fae2d commit a300d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ p5.prototype.createCapture = function(...args) {
22732273
catch(err) {
22742274
domElement.src = stream;
22752275
}
2276-
}, console.err);
2276+
}, console.error);
22772277

22782278
const videoEl = addElement(domElement, this, true);
22792279
videoEl.loadedmetadata = false;

0 commit comments

Comments
 (0)