Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit 4997f1e

Browse files
author
Piotr Makowski
committed
#master: update
1 parent bab9597 commit 4997f1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Json/JsonSchema.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function validate(Json $json, Validator $validator)
3636
foreach ($validator->getErrors() as $error) {
3737
$msg .= sprintf(" - [%s] %s".PHP_EOL, $error['property'], $error['message']);
3838
}
39+
$msg .= "JSON is:".PHP_EOL.$json->encode().PHP_EOL;
3940
throw new \Exception($msg);
4041
}
4142

0 commit comments

Comments
 (0)