##// END OF EJS Templates
lfs: raise an error if the server sends an unsolicited oid...
Matt Harbison -
r35713:dd672e3d default
parent child Browse files
Show More
@@ -247,6 +247,10 b' class _gitlfsremote(object):'
247 247 raise LfsRemoteError(
248 248 _(('LFS server error. Remote object '
249 249 'for "%s" not found: %r')) % (filename, response))
250 else:
251 raise LfsRemoteError(
252 _('LFS server error. Unsolicited response for oid %s')
253 % response['oid'])
250 254 if 'error' in response:
251 255 raise LfsRemoteError(_('LFS server error: %r') % response)
252 256
General Comments 0
You need to be logged in to leave comments. Login now