original_string: private function regenerateTaskById($id)
      {
          try {
              $response = $this->taskQueueService->regenerateTask($id);
              if ($response) {
                  $this->output->writeln("<info>Regeneration succes</info>");
              } else {
                  $this->output->writeln("<error>Regeneration succes</error>");
              }
          } catch (TaskQueueServiceException $e) {
              $this->output->writeln("<error>Error!:</error>" . $e->getMessage());
          }
      }
code: private function regenerateTaskById($id)
      {
          try {
              $response = $this->taskQueueService->regenerateTask($id);
              if ($response) {
                  $this->output->writeln("<info>Regeneration succes</info>");
              } else {
                  $this->output->writeln("<error>Regeneration succes</error>");
              }
          } catch (TaskQueueServiceException $e) {
              $this->output->writeln("<error>Error!:</error>" . $e->getMessage());
          }
      }
code_tokens: private function regenerateTaskById ( $ id ) { try { $ response = $ this -> taskQueueService -> regenerateTask ( $ id ) ; if ( $ response ) { $ this -> output -> writeln ( "<info>Regeneration succes</info>" ) ; } else { $ this -> output -> writeln ( "<error>Regeneration succes</error>" ) ; } } catch ( TaskQueueServiceException $ e ) { $ this -> output -> writeln ( "<error>Error!:</error>" . $ e -> getMessage ( ) ) ; } }
docstring: Regenerates a task that has failed
  
  @param integer $id
  @return void
docstring_tokens: Regenerates a task that has failed