Skip to content

Commit

Permalink
Fix all issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Jun 16, 2023
1 parent b999d57 commit d9cfcb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Console/Command/Ci/CiRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ public function execute(InputInterface $input, OutputInterface $output): int {
return StatusCodeEnum::ERROR;
}
catch (\Exception $e) {
$event = new CiEvent($data);
$this->eventDispatcher->dispatch($event, CiEvent::NAME);
// $event = new CiEvent($data);
// $this->eventDispatcher->dispatch($event, CiEvent::NAME);
print("This should be printed");
return StatusCodeEnum::ERROR;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Helper/Log/GoogleApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function getToken(): ?string {
}
catch (ExceptionInterface $e) {
$this->output->comment('An error occurred accessing the auth token from Google API endpoint.\n' . $e->getMessage());
exit;
return NULL;
}
}

Expand Down

0 comments on commit d9cfcb8

Please sign in to comment.