Skip to content

Commit 43ae727

Browse files
committed
failureReason is deprecated in favour of errorInfo
1 parent f9cf225 commit 43ae727

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,8 +1238,8 @@ Included when xref:configuration/configuration-settings.adoc#config_db.logs.quer
12381238
| Metadata attached to the transaction.
12391239

12401240
| failureReason
1241-
| Reason for failure.
1242-
Included when applicable.
1241+
| label:deprecated[Deprecated in 5.25] Reason for failure.
1242+
Included when applicable. Replaced by `errorInfo`.
12431243

12441244
| errorInfo
12451245
| label:new[Introduced in 5.25] GQL error information as a JSON object.
@@ -1294,9 +1294,9 @@ The query log includes the GQL error information under the JSON object `errorInf
12941294

12951295
[NOTE]
12961296
====
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.
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.
13001300
Additionally, GQL codes for external procedures are not yet stable.
13011301
====
13021302

0 commit comments

Comments
 (0)