fix(dav): render DAV exceptions as XML

This commit is contained in:
Francis Lachapelle
2022-02-01 14:20:32 -05:00
parent 348a79c795
commit 96bb8b4cc2
10 changed files with 87 additions and 67 deletions
+2 -2
View File
@@ -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];