Mercurial > hg
comparison .hgtags @ 40660:9f78d10742af
lfs: improve the hints for common errors in the Batch API
The previous message was too debug-ish and less action oriented than a hint
should be. The remaining errors that aren't handled are more along the lines of
programming errors (not using POST, bad accept type, etc), so I'm not bothering
with that.
The friendly errors purposely use `self.baseurl` instead of the full Batch API
endpoint because I'd expect some copy/paste/modify on the part of the user here,
and it would be more confusing if '/objects/batch' magically appeared, but
shouldn't be used in the config setting. It still seems like the right thing
for debugging in the catchall case.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 15 Nov 2018 17:58:59 -0500 |
parents | 8de8d4b0781c |
children | ee948f23bf2e |
comparison
equal
deleted
inserted
replaced
40659:8863f08c1630 | 40660:9f78d10742af |
---|