PropertyModifierJsonDecode: show substring on fail

This commit is contained in:
Thomas Gelf 2016-12-22 12:30:22 +01:00
parent 2ef36899e9
commit 6800d2cbd2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);
}
}