Closed (duplicate)
Project:
Hostmaster (Aegir)
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 14:40 UTC
Updated:
21 Jun 2013 at 13:45 UTC
I have a module that moves backup files around after a site is backed up. If it fails, it calls:
<?php
drush_set_error('PROVISION_BACKUP_FAILED', dt("Could not move source file to target: !target", array('!target' => $target)));
?>
Lately, it has been failing a lot, but I never realized it because the backup tasks were still reporting green, despite having this drush error in the logs. Is this not the correct way to throw an error during a task, or is this a bug? Thanks.
Comments
Comment #1
steven jones commentedAre you still seeing this?
Comment #2
ergonlogicWe're working on a similar issue in #1931000: Missing drush backend output in frontend log. I'm marking this as a duplicate, since there hasn't been an update in quite a while. Feel free to re-open, or post a new issue, if you observe similar behaviour recurring.