Skip to content

Commit a496606

Browse files
Revert "Cleanup"
This reverts commit 4f38ba1.
1 parent 4f38ba1 commit a496606

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

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

69-
throw;
69+
// Temp to capture error code
70+
throw new Exception(e.ErrorCode);
7071
}
7172
}
7273

0 commit comments

Comments
 (0)