Forum Discussion

Matt's avatar
Matt
New Contributor
7 years ago

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.

1 Reply

  • jovan_j's avatar
    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”.

    Please upload pipeline if you need further assistance.

    Regards, Jovan.