Skip to content

Commit

Permalink
log out error to console
Browse files Browse the repository at this point in the history
  • Loading branch information
lalexgap committed Sep 13, 2023
1 parent 0a35773 commit 1c626e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/payment-proxy-client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function App() {
NitroRpcClient.CreateHttpNitroClient(url)
.then((c) => setNitroClient(c))
.catch((e) => {
console.error(e);
setErrorText(e.message);
});
}, [url]);
Expand Down Expand Up @@ -148,6 +149,7 @@ function App() {
updateChannelInfo(paymentChannelInfo.ID);
}, 50);
} catch (e: unknown) {
console.error(e);
setErrorText((e as Error).message);
}
};
Expand Down

0 comments on commit 1c626e7

Please sign in to comment.