mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
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…
x
Reference in New Issue
Block a user