diff --git a/src/Command/VerifyCommand.php b/src/Command/VerifyCommand.php index db5e7304cbcac6fba34f397df1eaf41ad52073d7..b7425dcc83ecc5593a26ce2fa6cf68243aa539fa 100644 --- a/src/Command/VerifyCommand.php +++ b/src/Command/VerifyCommand.php @@ -60,6 +60,11 @@ class VerifyCommand extends Command */ protected function execute(InputInterface $input, OutputInterface $output) { + + if (empty($this->context)) { + throw new \Exception("You must specify a context to verify."); + } + $this->io->title(strtr("Verify %type: %name", [ '%name' => $this->context_name, '%type' => $this->context->type,