Cancel mkcalendar request on error
This commit is contained in:
parent
4d4b040b81
commit
b4c76c94ad
@ -52,6 +52,7 @@ class ApplicationMkcalendarMixin:
|
|||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"Bad MKCALENDAR request on %r: %s", path, e, exc_info=True)
|
"Bad MKCALENDAR request on %r: %s", path, e, exc_info=True)
|
||||||
|
return httputils.BAD_REQUEST
|
||||||
with self._storage.acquire_lock("w", user):
|
with self._storage.acquire_lock("w", user):
|
||||||
item = next(self._storage.discover(path), None)
|
item = next(self._storage.discover(path), None)
|
||||||
if item:
|
if item:
|
||||||
|
Loading…
Reference in New Issue
Block a user