done stack trace formatting for fatal error cases
Details
Details
- Reviewers
alex
Preparations
- ensure that system log is enabled ($_CONFIG['Misc']['EnableSystemLog'] = '1'; in the config.php).
- add code $response = null; $headers = $response->getHeaders(); to the kLogger::prepare method.
- add code trigger_error('cause of kLogger::prepare invocation.'); to the UsersEventHandler::SetCustomQuery.
Test
- login to the adn.console
- go to the User Management → Users section
- confirm, that "Stack trace" info is shown in the debugger, and this info is properly formatted - each call info is shown on separate line
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint Errors Excuse: all code style fixes is not part of this task Severity Location Code Message Error core/kernel/utility/debugger.php:1914 PHPCS.E.CodingStandard.NamingConventions.ValidVariableName.NotSnakeCaps CodingStandard.NamingConventions.ValidVariableName.NotSnakeCaps Error core/kernel/utility/debugger.php:1918 PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeyword CodingStandard.Arrays.Array.SpaceAfterKeyword Error core/kernel/utility/debugger.php:1918 PHPCS.E.Generic.PHP.LowerCaseKeyword.Found Generic.PHP.LowerCaseKeyword.Found - Unit
No Unit Test Coverage - Build Status
Buildable 11061 Build 3761: arc lint + arc unit