Skip to content

Commit 604e831

Browse files
committed
refactor: log 更改为 error 平台不支持
1 parent acaa170 commit 604e831

File tree

1 file changed

+1
-1
lines changed
  • src/BootstrapBlazor/wwwroot/modules

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/wwwroot/modules/media.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export async function enumerateDevices() {
44
let ret = null;
55
if (!navigator.mediaDevices || !navigator.mediaDevices.getUserMedia || !navigator.mediaDevices.enumerateDevices) {
6-
console.log("enumerateDevices() not supported.");
6+
console.error("enumerateDevices() not supported.");
77
}
88
else {
99
try {

0 commit comments

Comments
 (0)