CHANGE: Report errors from server

There was no catching of errors from the server, for example in case the input path is not existing.