mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Cancel mkcalendar request on error
This commit is contained in:
parent
4d4b040b81
commit
b4c76c94ad
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue