Skip to content

Commit

Permalink
Improve debugging Mailosaur API errors (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarescu authored Jan 15, 2025
1 parent aecf28c commit b8151ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shortest/src/browser/integrations/mailosaur.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class MailosaurTool {
text: message.text.body,
};
} catch (error) {
throw new ToolError(`Failed to fetch email: ${error}`);
throw new ToolError(`Mailosaur API error: ${error}`);
}
}
}

0 comments on commit b8151ff

Please sign in to comment.