Page MenuHomeIn-Portal Phabricator
  • Changed Files
  • branches/5.3.x/core/kernel/utility/logger.php

INP-1522 - Adapt error output for CLI
ClosedPublic

Authored by alex on Dec 5 2015, 1:24 PM.

Details

Test Plan
  1. throw an exception somewhere deep during application initialization (but not during run)
  2. run in-portal script
  3. confirm, that exception class/message is shown in CLI
  4. confirm, that stack trace is shown
  5. confirm, that no HTML is present in the output
  6. trigger fatal error in place of exception
  7. run in-portal script
  8. confirm, that exception class/message is shown in CLI
  9. confirm, that stack trace is shown
  10. confirm, that no HTML is present in the output

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.

Event Timeline

alex updated this revision to Diff 425.Dec 5 2015, 1:24 PM
alex retitled this revision from to INP-1522 - Adapt error output for CLI.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1522.
glebs accepted this revision.Dec 15 2015, 1:38 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Dec 15 2015, 1:38 AM
This revision was automatically updated to reflect the committed changes.