|
@@ -144,7 +144,12 @@ class Application extends BaseApplication
|
|
$this->io->write($e->getMessage());
|
|
$this->io->write($e->getMessage());
|
|
exit(1);
|
|
exit(1);
|
|
}
|
|
}
|
|
|
|
+ } catch (JsonValidationException $e) {
|
|
|
|
+ $errors = ' - ' . implode(PHP_EOL . ' - ', $e->getErrors());
|
|
|
|
+ $message = $e->getMessage() . ':' . PHP_EOL . $errors;
|
|
|
|
+ throw new JsonValidationException($message);
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
return $this->composer;
|
|
return $this->composer;
|