mirror of
https://github.com/jcreek/Creek.FileRepository.git
synced 2026-07-12 18:33:43 +00:00
fix(*): Add missing throw to ensure exceptions get passed up the stack
This commit is contained in:
@@ -74,9 +74,10 @@ namespace FileRepository.Repositories
|
|||||||
|
|
||||||
//_logger.LogInformation($"Finished downloading file [{localFilePath}] from [{remoteFilePath}]");
|
//_logger.LogInformation($"Finished downloading file [{localFilePath}] from [{remoteFilePath}]");
|
||||||
}
|
}
|
||||||
catch (Exception exception)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
//_logger.LogError(exception, $"Failed in downloading file [{localFilePath}] from [{remoteFilePath}]");
|
//_logger.LogError(ex, $"Failed in downloading file [{localFilePath}] from [{remoteFilePath}]");
|
||||||
|
throw;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user