Skip to content

Commit 24e9b24

Browse files
committed
resolved conflicts
1 parent 0932f8f commit 24e9b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testkit-backend/src/Handlers/SessionBeginTransaction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace Laudis\Neo4j\TestkitBackend\Handlers;
1515

16+
use Laudis\Neo4j\Databags\Neo4jError;
1617
use Laudis\Neo4j\Databags\TransactionConfiguration;
1718
use Laudis\Neo4j\Exception\Neo4jException;
1819
use Laudis\Neo4j\TestkitBackend\Contracts\RequestHandlerInterface;
@@ -94,8 +95,7 @@ public function handle($request): TestkitResponseInterface
9495
'trace' => $exception->getTraceAsString(),
9596
]);
9697

97-
// Convert to Neo4jException for consistent error handling
98-
$neo4jException = new Neo4jException([new \Laudis\Neo4j\Databags\Neo4jError(
98+
$neo4jException = new Neo4jException([new Neo4jError(
9999
'PHP.ClientError',
100100
$exception->getMessage()
101101
)]);

0 commit comments

Comments
 (0)