saveAnimeStats(); $msg = ob_get_contents(); ob_end_clean(); if ( $ok ) { if ( "" != $msg ) { $this->info( $msg ); return Command::FAILURE; // Hack to force output } else { return Command::SUCCESS; } } $this->error( "Failure happened:\n" ); $this->error( $msg ); return Command::FAILURE; } }