cancel
Showing results for 
Search instead for 
Did you mean: 

Don't email empty error logs

Matt
New Contributor

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.

1 REPLY 1

jovan_j
New Contributor III

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.