PropertyModifierJsonDecode: show substring on fail
This commit is contained in:
parent
2ef36899e9
commit
6800d2cbd2
|
@ -47,7 +47,7 @@ class PropertyModifierJsonDecode extends PropertyModifierHook
|
|||
throw new InvalidPropertyException(
|
||||
'JSON decoding failed with "%s" for %s',
|
||||
$this->getLastJsonError(),
|
||||
$value
|
||||
substr($value, 0, 128)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue