Don't email empty error logs

I have snaps running nightly to insert data into SQL server. If there was an error I have it set up to email what my file write created. I wanted to ask if it’s possible to prevent it from emailing empty error logs. As of now if there aren’t any errors I’ll still get an email just with an empty attachment.

Hi Matt,

Please make sure if you use file writer before the email sender snap to deselect field “Write empty file”.
image

Please upload pipeline if you need further assistance.

Regards, Jovan.

1 Like