UnauthorizedAccessException to Exception

pull/6316/head
2dust 2024-12-18 15:27:00 +08:00
parent 23dd140921
commit 2b5cbb5e74
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ namespace ServiceLib.Common
File.Create(fileName).Close();
File.Delete(fileName);
}
catch (UnauthorizedAccessException)
catch (Exception)
{
return false;
}