You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as @activefx found in seamusabshere/remote_table#11, UnixUtils.curl doesn't raise a sensible exception when it can't download a file (basically when it doesn't get a 200 or 300 HTTP response, I think)
UnixUtils.curl should probably do this - maybe we can check $?.exitstatus to see if curl gives us an exit 1 in these cases?
The text was updated successfully, but these errors were encountered:
Please let me know your thoughts, it would involve wrapping every top-level API call in a tag_errors block. This would enable:
beginUnixUtils.curl'http://glefdsfsdfsdfds.com'rescueUnixUtils::Error=>eputse.messageend=>[unix_utils]curl: (6)Could not resolvehost: glefdsfsdfsdfds.com;nodenamenorservnameprovided,or not known
Every error from the library would then be able to be rescued from the UnixUtils::Error class
as @activefx found in seamusabshere/remote_table#11,
UnixUtils.curl
doesn't raise a sensible exception when it can't download a file (basically when it doesn't get a 200 or 300 HTTP response, I think)UnixUtils.curl
should probably do this - maybe we can check$?.exitstatus
to see if curl gives us anexit 1
in these cases?The text was updated successfully, but these errors were encountered: