fix(*): Add missing throw to ensure exceptions get passed up the stack

This commit is contained in:
Josh Creek
2021-08-30 12:43:44 +01:00
parent 26a953d59c
commit 4232dd9a03
@@ -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
{