Skip to content

Commit d1dc67f

Browse files
committed
Simplify.
1 parent dd21e35 commit d1dc67f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/OrchardCore.Commerce.Payment.Stripe/Migrations/StripeMigrations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ await _contentDefinitionManager
4040
{
4141
await SchemaBuilder.DropMapIndexTableAsync(typeof(OrderPaymentIndex));
4242
}
43-
catch (Exception exception) when (exception is DbException)
43+
catch (DbException exception)
4444
{
4545
// This is fine, it just means that the table didn't exist.
4646
_logger.LogInformation(

0 commit comments

Comments
 (0)