Skip to content

Commit

Permalink
cast to error over any
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed Aug 29, 2024
1 parent bde2ae9 commit 30ab8bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mailer/handlers/studio/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export class StudioMailHandler extends AbstractMailHandler {
sendOptions,
handlerOptions,
)
} catch (e: any) {
} catch (e) {
console.error(
'\nSent an email to the void! You can view this email during development\nwith Redwood Studio: `yarn rw studio`',
'\nSent an email to the void! You can view this email during development with Redwood Studio: `yarn rw studio`',
)
console.error(' ' + e.message + '\n')
console.error(' ' + (e as Error).message + '\n')
}

return {}
Expand Down

0 comments on commit 30ab8bd

Please sign in to comment.