fix(qr-scanner): remove error emission on camera start failure
This commit is contained in:
@@ -42,7 +42,6 @@ async function start() {
|
|||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
console.error("Failed to start camera:", error);
|
console.error("Failed to start camera:", error);
|
||||||
emit("error", error as Error);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user