Skip to content

Commit

Permalink
Fix infinite error loop (wulkano#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge authored Sep 9, 2020
1 parent f9c7535 commit 25fde50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/utils/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const getSentryIssue = async (eventId, tries = 0) => {

return body;
} catch (error) {
showError(error);
// We are not using `showError` again here to avoid an infinite error cycle
console.log(error);
}
};

Expand Down

0 comments on commit 25fde50

Please sign in to comment.