Skip to content

Commit

Permalink
Remove catch for error
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed May 28, 2024
1 parent d92c368 commit d018c98
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ export const run = async (url, payload, options = {}) => {

if (internalSwal) Swal.close();

if (results?.message) throw new Error(`Request to ${url} failed: ${results.message}`);

return results || true;
};

Expand Down

0 comments on commit d018c98

Please sign in to comment.