mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 02:15:36 +00:00
fix(dav): render DAV exceptions as XML
This commit is contained in:
@@ -145,8 +145,8 @@
|
||||
// with a 400 error code.
|
||||
if (!rqCalendar)
|
||||
{
|
||||
return [NSException exceptionWithHTTPStatus: 400
|
||||
reason: @"Unable to parse task."];
|
||||
return [NSException exceptionWithDAVStatus: 400
|
||||
reason: @"Unable to parse task."];
|
||||
}
|
||||
|
||||
[self adjustClassificationInRequestCalendar: rqCalendar];
|
||||
|
||||
Reference in New Issue
Block a user