Skip to content

Commit 22e8e56

Browse files
committed
BUGFIX: Set templatePathAndFilename for serverErrorExceptions to prevent "Template not found"
useCustomErrorView() of the AbstractExceptionHandler only checks if the array key templatePathAndFilename is set, but not if it's a valid string. This means that setting templatePathAndFilename to null will cause an exception during exception rendering, hiding the original error.
1 parent d65f505 commit 22e8e56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Configuration/Settings.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Neos:
77
matchingStatusCodes: [ 500 ]
88
options:
99
logException: true
10+
templatePathAndFilename: 'resource://Neos.Flow/Private/Templates/Error/Default.html'
1011

1112
Netlogix:
1213
ErrorHandler:

0 commit comments

Comments
 (0)