Skip to content

Commit 27d03d6

Browse files
authored
Fix error handler configuration example
Since #803, the example here results in runtime error due to the fact that internal_error_message in `ErrorHandler::__construct` is non-nullable.
1 parent c19e226 commit 27d03d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/error-handling/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ You can custom the default errors handler using configuration:
140140
overblog_graphql:
141141
errors_handler:
142142
enabled: true # false will totally disabled errors handling
143-
internal_error_message: ~ # custom generic error message
143+
internal_error_message: 'Internal error occured' # custom generic error message
144144
rethrow_internal_exceptions: false # re-throw internal exception
145145
debug: false # will add trace stack and debugMessage to error
146146
log: true # false will disabled the default logging behavior

0 commit comments

Comments
 (0)