Skip to content

Commit

Permalink
fix(capture-sdk): Iban detection error fix
Browse files Browse the repository at this point in the history
EC-46
  • Loading branch information
jackkray committed Sep 17, 2024
1 parent c62c6ef commit 0ad7afe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void onQRCodesDetected(@NonNull final List<String> qrCodes) {
public void onQRCodeScannerError(Exception e) {

//TODO: check content of exception if there will be more use cases in the future
if (!(e instanceof CancellationException)) {
if (!(e instanceof IllegalStateException)) {
mListener.onQRCodeReaderFail();
}
}
Expand Down

0 comments on commit 0ad7afe

Please sign in to comment.