Error message print out to console is incomplete since ObsError
can't be catched by methods in oscapi.py and throw directly to
cmd_remotebuild.py.
Change-Id: I2879ef2ab7f60f3f0caa35b081c9408ac6589527
return method(url, data=data, file=filep)
except (urllib2.URLError, M2Crypto.m2urllib2.URLError,
M2Crypto.SSL.SSLError, ssl.SSLError), err:
- raise errors.ObsError(str(err))
+ raise OSCError(str(err))
def copy_project(self, src, target, rewrite=False):
"""