It would be very helpful to be able to see E_NOTICE|E_STRICT errors when developing plugins for drush. This does not seem to be possible atm. even after hacking the drush_errors_on() function and removing all ob_* functions, but I could be wrong :)

Thx
_rune

Comments

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

i don't think we actively suppress these.

greg.1.anderson’s picture

Status: Postponed (maintainer needs more info) » Fixed

Drush now makes it a little easier to turn these on. From example.drushrc.php:

// Default logging level for php notices.  Defaults to "notice"; set to "warning"
// if doing drush development.  Also make sure that error_reporting is set to E_ALL
// in your php configuration file.  See 'drush status' for the path to your php.ini file.
# $options['php-notices'] = 'warning';
_rune’s picture

Sweet, thats going to save time. Thx a lot!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.