Skip to content

Commit fe1cef1

Browse files
committed
Better error reporting
1 parent a85053c commit fe1cef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Camera/extras/WebSerialCamera/serialConnectionHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class SerialConnectionHandler {
166166
}
167167

168168
} catch (error) {
169-
console.log('💣 Error occurred while reading: ' + error.message);
169+
console.error('💣 Error occurred while reading: ' + error.message);
170170
} finally {
171171
keepReading = false;
172172
// console.log('🔓 Releasing reader lock...');

0 commit comments

Comments
 (0)