Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
OperationCanceledExceptionは再スロー
Browse files Browse the repository at this point in the history
  • Loading branch information
aiueo-1234 committed Feb 22, 2024
1 parent b58d3c4 commit dcb3a39
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Epub/KoeBook.Epub/EpubDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,13 @@ public async Task<bool> TryCreateEpubAsync(string tmpDirectory, string? name, Ca
}
return true;
}
catch (OperationCanceledException)
{
throw;
}
catch
{
return false;
}
}
}
}

0 comments on commit dcb3a39

Please sign in to comment.