diff --git a/Epub/KoeBook.Epub/EpubDocument.cs b/Epub/KoeBook.Epub/EpubDocument.cs index 8a3bc21..966b7cb 100644 --- a/Epub/KoeBook.Epub/EpubDocument.cs +++ b/Epub/KoeBook.Epub/EpubDocument.cs @@ -273,9 +273,13 @@ public async Task TryCreateEpubAsync(string tmpDirectory, string? name, Ca } return true; } + catch (OperationCanceledException) + { + throw; + } catch { return false; - } + } } }