Skip to content

Commit b8151ff

Browse files
authored
Improve debugging Mailosaur API errors (#270)
1 parent aecf28c commit b8151ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shortest/src/browser/integrations/mailosaur.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class MailosaurTool {
3232
text: message.text.body,
3333
};
3434
} catch (error) {
35-
throw new ToolError(`Failed to fetch email: ${error}`);
35+
throw new ToolError(`Mailosaur API error: ${error}`);
3636
}
3737
}
3838
}

0 commit comments

Comments
 (0)