mirror of
https://github.com/getgrav/grav.git
synced 2026-07-08 20:03:17 +02:00
More validation updates
This commit is contained in:
@@ -75,7 +75,7 @@ class Blueprint
|
||||
try {
|
||||
$this->validateArray($data, $this->nested);
|
||||
} catch (\RuntimeException $e) {
|
||||
throw new \RuntimeException(sprintf('Page validation failed: %s', $e->getMessage()));
|
||||
throw new \RuntimeException(sprintf('<b>Validation failed:</b> %s', $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user