# Preparations
* in the IDE:
# open the `core/units/admin/admin_events_handler.php` file for editing
# in the `\AdminEventsHandler::OnDeploy` method add the `throw new LogicException('Testing.');` line before current code
# save changes
# Test Plan
* in CLI:
# execute the `./in-portal event:run adm:OnDeploy -v` command
# confirm that:
* exception class is displayed
* exception message is displayed
* exception backtrace is displayed
* exception message and backtrace are separarted by a *single* empty line
* there is a *single* empty line before/after displayed data (exception class+message+backtrace block in a whole)
* login to the Admin Console
# go to the {nav Logs & Reports > System Log} section
# confirm that the above-thrown exception was properly logged