- in the Admin Console
- login to the Admin Console
- go to Website & Content → Labels & Phrases section
- confirm, that correct grid was shown
- in the IDE
- open /system/debug.php file for editing
- disable debug mode by commenting out DBEUG_MODE key in the $dbg_options array
- save changes
- open file /core/kernel/application.php for editing
- in the \kApplication::Init method add throw new RuntimeException('sample exception'); before the return true; statement at the end
- save changes
- open /tools/run_event.php file for editing
- comment-out the exit_code(1, 'This script needs to be enabled manually !'); line
- save changes
- in the Admin Console
- go to Website & Content → Labels & Phrases section
- confirm, that error message being shown doesn't include absolute file path
- in the CLI
- run the php tools/run_event.php test:test b674006f3edb1d9cd4d838c150b0567d script in project root folder
- confirm, that error message/trace being shown doesn't include absolute file path
Details
Details
- Reviewers
erik - Commits
- rINP16714: Fixes INP-1814 - Use relative paths in error messages
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.