Skip to content

Commit

Permalink
fix(events): adds url to base error
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrein committed Sep 18, 2023
1 parent ec7874c commit 52c6003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function sendEvent(event, to) {
try {
await axios.post(to, event);
} catch (error) {
const BASE_ERROR = `Failed to send event to`;
const BASE_ERROR = `Failed to send event to ${to}`;

if (error instanceof AxiosError) {
console.error(
Expand Down

0 comments on commit 52c6003

Please sign in to comment.