You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[**all**](#error_maskingall)|`object`|The default error masking configuration for all subgraphs.<br/>Default: `{"error_message":true,"extensions":null}`<br/>||
1015
+
|**redacted\_error\_message**|`string`|The error message to redact in subgraph errors. The default is "Unexpected error".<br/>Default: `"Unexpected error"`<br/>||
1016
+
|[**subgraphs**](#error_maskingsubgraphs)|`object`, `null`|The error masking configuration for individual subgraphs.<br/>||
The default error masking configuration for all subgraphs.
1033
+
1034
+
1032
1035
**Properties**
1033
1036
1034
1037
|Name|Type|Description|Required|
1035
1038
|----|----|-----------|--------|
1036
-
|**error\_message**|`boolean`, `null`|||
1037
-
|**extensions**||||
1039
+
|**error\_message**|`boolean`|Whether to redact the error message in subgraph errors. The default is `true`.<br/><br/>This field can be set to `false`, in order to disable error masking, by setting the `DISABLE_SUBGRAPH_ERROR_MASKING=true` environment variable.<br/>Default: `true`<br/>||
1040
+
|**extensions**||Whether to redact the `extensions` in errors.<br/><br/>You may pick the execution mode by setting `mode: allow` or `mode: deny`.<br/>Note: only root-level fields are supported.<br/>||
1038
1041
1039
1042
**Example**
1040
1043
@@ -1047,6 +1050,10 @@ extensions: null
1047
1050
<a name="error_maskingsubgraphs"></a>
1048
1051
### error\_masking\.subgraphs: object,null
1049
1052
1053
+
The error masking configuration for individual subgraphs.
1054
+
Any configuration field that will be specified here, will override the configuration in `all`.
1055
+
1056
+
1050
1057
**Additional Properties**
1051
1058
1052
1059
|Name|Type|Description|Required|
@@ -1060,8 +1067,8 @@ extensions: null
1060
1067
1061
1068
|Name|Type|Description|Required|
1062
1069
|----|----|-----------|--------|
1063
-
|**error\_message**|`boolean`, `null`|||
1064
-
|**extensions**||||
1070
+
|**error\_message**|`boolean`, `null`|Whether to redact the `error_message` in errors, for that specific subgraph.<br/><br/>Configuring this will override the global `all.error_message` setting.<br/>||
1071
+
|**extensions**||Whether to redact the `extensions` in errors, for that specific subgraph.<br/>Configuring this will override the global `all.extensions` setting.<br/><br/>You may pick the execution mode by setting `mode: allow` or `mode: deny`.<br/>Note: only root-level fields are supported.<br/>||
0 commit comments