vue-barcode-reader icon indicating copy to clipboard operation
vue-barcode-reader copied to clipboard

Catch decodeFromvideoDevice error and send @error event

Open bin-one opened this issue 3 years ago • 3 comments

Do something upon camera access reject and possible other error with camera.

bin-one avatar Nov 01 '22 19:11 bin-one

@doode Do you have a situation where you can reproduce an error so this can be tested?

teckel12 avatar Aug 14 '23 23:08 teckel12

Hi Tim,

I’ll go back to try and find the QR code that was causing the exception.

Norik

On Aug 14, 2023, at 7:31 PM, Tim Eckel @.***> wrote:

@doode https://github.com/doode Do you have a situation where you can reproduce an error so this can be tested?

— Reply to this email directly, view it on GitHub https://github.com/olefirenko/vue-barcode-reader/pull/44#issuecomment-1678224051, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABKYYBMDFSPAJZ34O4WZGLXVKYNNANCNFSM6AAAAAARUMFFRQ. You are receiving this because you were mentioned.

bin-one avatar Aug 15 '23 00:08 bin-one

Tim, wow this completely fell through the cracks. Apologies. I have not been able to reproduce this condition as easily as I thought I could and don't have anything other than anecdotal evidence that its a good thing to catch this condition. At any rate, feel free to dispose of the pull request as you see fit.

I do see another potentially related report How error handle on StreamBarcodeReader #60

Will keep an eye out in case it pops up.

Thanks and all the best.

bin-one avatar Nov 20 '23 20:11 bin-one