Skip to content

Commit

Permalink
fix: remove unhandled promise rejection warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwencheng committed Aug 26, 2019
1 parent b5e239f commit eaf9f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/QrScanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default class Scanner extends React.PureComponent {
accountsStore
);
} catch (e) {
this.showErrorMessage(scannerStore, text.PARSE_ERROR_TITLE, e.message);
return this.showErrorMessage(scannerStore, text.PARSE_ERROR_TITLE, e.message);
}
}

Expand Down

0 comments on commit eaf9f52

Please sign in to comment.