Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Oct 17, 2024
1 parent a43a077 commit 5eb0703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/components/app/toast-master/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function submitRequestToBackgroundAndCatch(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
args?: any[],
) {
submitRequestToBackground(method, args).catch((error) => {
submitRequestToBackground(method, args)?.catch((error) => {
console.error('Error caught in submitRequestToBackground', error);
});
}

0 comments on commit 5eb0703

Please sign in to comment.