Fossil SCM

Error reported for missing/non-readable repo during sync is not good

Fixed

8a7a49c47d7f200… · opened 16 years, 8 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
July 24, 2009 3:43 p.m.

related to ticket [045f23be75]. The error reported in that previous ticket is a sub-set of an html string returned. That returned error should be something more useful, and probably not even html. See [045f23be75] for how to generate an error, and what is returned as error msg.


drh added on 2009-08-01 13:44:36:
The error was occurring prior to parsing the HTTP request header and so the server did not know that it was dealing with sync protocol - it figured the request was an ordinary HTTP/HTML browser request. So it generates an HTML error message. The fix is to modify the client to detect HTML error messages and try to do something reasonable with them.

See check-in [80457ec79be10b32f372c69e0093c8fea7f0471b].

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button