fix(dav): render DAV exceptions as XML

This commit is contained in:
Francis Lachapelle committed 2022-02-01 14:20:32 -05:00
1 parent 348a79c795
commit 96bb8b4cc2
10 files changed
+87 -67

No files matched your search

+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];