Detect command execution errors

This is required in order to detect and notify commandline errors (i.e., curl)
Fail fast when response is empty

This might happen when CurlSession.request fails