Skip to content

Commit 5d77341

Browse files
Update modules/ROOT/pages/monitoring/logging.adoc
Co-authored-by: Reneta Popova <[email protected]>
1 parent 95c8480 commit 5d77341

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,13 @@ The query log includes the GQL error information under the JSON object `errorInf
12921292
* `position` -- The position (a JSON object containing a field for `column`, `offset`, and `line`) in the query where this error occurred.
12931293
* `cause` -- A JSON object containing the `errorInfo` JSON object of the cause of the current `errorInfo` JSON object.
12941294

1295-
GQLSTATUS code `50N42` is our default code. This code is shown when the exception does not have a GQL object yet.
1295+
[NOTE]
1296+
====
1297+
The default GQLSTATUS code `50N42` is returned when an exception does not have a GQL object.
1298+
Starting from Neo4j 5.25, GQL objects are added to exceptions; therefore, you can expect many `50N42` codes.
1299+
However, it's important not to rely on this default code, as future Neo4j versions might change it by adding an appropriate GQL object to the exception.
1300+
Additionally, GQL codes for external procedures are not yet stable.
1301+
====
12961302
Neo4j version 5.25 started to add GQL objects to exceptions. Therefore, many `50N42` codes can be expected.
12971303
Note: You should not rely on this default code, since future Neo4j versions might add an appropriate GQL object to the exception (therefore changing this code into another one).
12981304
Also, GQL codes for external procedures are not stable yet.

0 commit comments

Comments
 (0)