Skip to content

Commit

Permalink
more error logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-Ray committed Jan 29, 2021
1 parent c8d0ec8 commit 43a0a46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ const App = (): React.ReactElement => {
status: res.status ? res.status : 200,
statusText: res.statusText ? res.statusText : "k",
});
})
.catch((error) => {
console.error(error);
console.error(`Credentials: ${JSON.stringify(credentials)}`);
throw new Error(error);
});
};
});
Expand Down

0 comments on commit 43a0a46

Please sign in to comment.