Skip to content

Commit 6ec49dc

Browse files
committed
Fix test
1 parent 00a5b65 commit 6ec49dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/Compiler/DbalTracingPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function process(ContainerBuilder $container): void
4141
}
4242

4343
if (!interface_exists(Driver::class)) {
44-
throw new \InvalidArgumentException(sprintf('The Doctrine "%s" interface is missing, DBAL connection cannot be instrumented; check that you have DBAL 2.13+ installed', Driver::class));
44+
throw new \RuntimeException(sprintf('The Doctrine "%s" interface is missing, DBAL connection cannot be instrumented; check that you have DBAL 2.13+ installed', Driver::class));
4545
}
4646

4747
/** @var string[] $connectionsToTrace */

0 commit comments

Comments
 (0)