mailosaur / mailosaur-node

Mailosaur email and SMS testing library for Node.js
https://mailosaur.com/docs/languages/nodejs/
MIT License
20 stars 13 forks source link

Provide more detailed info when the email search fails due to a timeout #51

Closed ryanrosello-og closed 2 years ago

ryanrosello-og commented 2 years ago

This will update the error message thrown by the mail search from

No matching messages found in time. By default, only messages received in the last hour are checked (use receivedAfter to override this).

To

No matching messages found in time. By default, only messages received in the last hour are checked (use receivedAfter to override this). The search criteria used for this query was {THE_SEARCH_CRITERIA} which timed out after {TIMEOUT}ms