elasticio / sftp-component

SFTP component for the elastic.io platform
Apache License 2.0
2 stars 3 forks source link

If attachment respond with non HTTP-200 error is not handled #8

Closed zubairov closed 5 years ago

zubairov commented 6 years ago

Here:

https://github.com/elasticio/sftp-component/blob/3c2278ab0be087799f5ea27c00be02fa67ad958e/lib/actions/upload.js#L58

we sometimes are getting files with File's metadata is not found

zubairov commented 6 years ago

because steward may respond with HTTP-404 and it's ignored