diff --git a/core/imageboard/image.php b/core/imageboard/image.php index 54bc7b28..79d9c75d 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -131,7 +131,8 @@ class Image implements \ArrayAccess { assert(is_string($offset)); if(!$this->offsetExists($offset)) { - throw new \OutOfBoundsException("Undefined dynamic property: $offset"); + $known = implode(", ", array_keys(static::$prop_types)); + throw new \OutOfBoundsException("Undefined dynamic property: $offset (Known: $known)"); } return $this->dynamic_props[$offset] ?? null; }