aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/QCloudCosService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Services/QCloudCosService.cs')
-rw-r--r--Timeline/Services/QCloudCosService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Timeline/Services/QCloudCosService.cs b/Timeline/Services/QCloudCosService.cs
index 078dd37b..b37631e5 100644
--- a/Timeline/Services/QCloudCosService.cs
+++ b/Timeline/Services/QCloudCosService.cs
@@ -234,7 +234,7 @@ namespace Timeline.Services
catch (Exception e)
{
_logger.LogError(e, "An error occured when test a cos object existence.");
- return false;
+ throw;
}
}
@@ -297,6 +297,7 @@ namespace Timeline.Services
catch (Exception e)
{
_logger.LogError(e, "An error occured when test a cos object existence.");
+ throw;
}
}