Skip to content

Commit

Permalink
fix(scanner): toogle fix in Scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 committed May 20, 2024
1 parent 20b9c06 commit bd64d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __app/component/Scanner/Scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function Scanner({
}
});
} catch (error) {
return handleError({ msgType: 'BAR_CODE_DETECTION_FAILED', msg: failureMsg.barCodeDetectionFailed || JSON.stringify(error), failureCb });
return handleError({ msgType: 'BAR_CODE_DETECTION_FAILED', msg: JSON.stringify(error) || failureMsg.barCodeDetectionFailed, failureCb });
}
}

Expand Down

0 comments on commit bd64d45

Please sign in to comment.