We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0932f8f commit 24e9b24Copy full SHA for 24e9b24
testkit-backend/src/Handlers/SessionBeginTransaction.php
@@ -13,6 +13,7 @@
13
14
namespace Laudis\Neo4j\TestkitBackend\Handlers;
15
16
+use Laudis\Neo4j\Databags\Neo4jError;
17
use Laudis\Neo4j\Databags\TransactionConfiguration;
18
use Laudis\Neo4j\Exception\Neo4jException;
19
use Laudis\Neo4j\TestkitBackend\Contracts\RequestHandlerInterface;
@@ -94,8 +95,7 @@ public function handle($request): TestkitResponseInterface
94
95
'trace' => $exception->getTraceAsString(),
96
]);
97
- // Convert to Neo4jException for consistent error handling
98
- $neo4jException = new Neo4jException([new \Laudis\Neo4j\Databags\Neo4jError(
+ $neo4jException = new Neo4jException([new Neo4jError(
99
'PHP.ClientError',
100
$exception->getMessage()
101
)]);
0 commit comments