sabitertan / BlazorBarcodeScanner

Barcode Scanner component for Blazor using zxing-js Interop
MIT License
92 stars 37 forks source link

Correct return channel to .NET for errors #18

Closed uniederer closed 3 years ago

uniederer commented 3 years ago

Playing around with BrowserQRCodeReader I got occasional .NET exceptions complaining about the inability to serialize err to a string. On the course to get rid of some distracting console output I created a dedicated return channel for errors. Yet I do not know yet what to do with them as of now.

sabitertan commented 3 years ago

Those errors have no meaning to end user, but we can capture them and collaborate with zxing-js maintainers to keep library nice and neat.

uniederer commented 3 years ago

Thought so. Now we have those errors at least in .NET and can take them from there...