Sam Minnee 4c772c80c3 FIX: Show detailed errors on CLI for live environments
API: Add HTTPOutputHandler::setCLIFormatter

Fixes https://github.com/silverstripe/silverstripe-framework/issues/6835

This provides detailed errors (but not warnings or notices) in CLI calls
on live environments.

It does this by adding a 2nd argument to our output handler,
CliFormatter. This formatter will be used when Director::is_cli() is
true.
2017-05-01 15:28:48 +12:00
..
2016-09-08 10:23:17 +12:00
2016-09-08 10:23:17 +12:00
2016-09-08 10:23:17 +12:00
2016-09-08 10:23:17 +12:00
2016-09-09 18:43:05 +12:00
2016-09-08 10:23:17 +12:00
2017-03-14 10:22:45 +13:00
2017-04-16 19:05:29 +12:00