keystonejs / keystone-email

⚠️ Archived - Legacy email helper for KeystoneJS Apps
MIT License
29 stars 40 forks source link

Improve warning if the template isn't found #5

Closed mxstbr closed 8 years ago

mxstbr commented 8 years ago

Previously we'd only log

"Invalid template (simple)"

which isn't very helpful. Now we log

"Invalid templat (simple), could not find file '/User/somename/someproject/templates/simple.jade'"

which is a lot more descriptive and easier to debug.

JedWatson commented 8 years ago

:+1: