mirror of
https://github.com/jcreek/Creek.FileRepository.git
synced 2026-07-13 10:53: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}]");
|
||||
}
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user