Skip to content

Commit 4f38ba1

Browse files
Cleanup
1 parent 62dc995 commit 4f38ba1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/ImageSharp.Web.Tests/TestUtilities/AWSS3StorageImageProviderFactory.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,14 @@ private static async Task InitializeAWSStorageAsync(IServiceProvider services, A
5959
}
6060
catch (AmazonS3Exception e)
6161
{
62-
// CI tests are run in parallel and can sometime return a
62+
// CI tests are run in parallel and can sometimes return a
6363
// false negative for the existance of a bucket.
6464
if (string.Equals(e.ErrorCode, "BucketExists"))
6565
{
6666
return;
6767
}
6868

69-
// Temp to capture error code
70-
throw new Exception(e.ErrorCode);
69+
throw;
7170
}
7271
}
7372

0 commit comments

Comments
 (0)