From b4c76c94ad7dad3905f914c2b3ec1bfa6dba0c72 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 11 Oct 2020 19:13:10 +0200 Subject: [PATCH] Cancel mkcalendar request on error --- radicale/app/mkcalendar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/radicale/app/mkcalendar.py b/radicale/app/mkcalendar.py index ae14181..f0649d7 100644 --- a/radicale/app/mkcalendar.py +++ b/radicale/app/mkcalendar.py @@ -52,6 +52,7 @@ class ApplicationMkcalendarMixin: except ValueError as e: logger.warning( "Bad MKCALENDAR request on %r: %s", path, e, exc_info=True) + return httputils.BAD_REQUEST with self._storage.acquire_lock("w", user): item = next(self._storage.discover(path), None) if item: