diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-06 09:37:30 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-06 09:37:30 -0400 |
commit | baf5e6e00eb4e66f26e57be9e4f67fe3e1ff5d7c (patch) | |
tree | 9482f593904af7a771a07b870d7830ae653b1023 /src | |
parent | 39c553661b354a7cddc8de80315dd99337f1dde2 (diff) |
data: WHOOPSIE
Diffstat (limited to 'src')
-rw-r--r-- | src/data/things/cacheable-object.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data/things/cacheable-object.js b/src/data/things/cacheable-object.js index c6f154c0..1e7c7aa8 100644 --- a/src/data/things/cacheable-object.js +++ b/src/data/things/cacheable-object.js @@ -180,7 +180,8 @@ export default class CacheableObject { throw new TypeError(`Validation failed for value ${newValue}`); } } catch (caughtError) { - throw new CacheableObjectPropertyValueError(property, oldValue, newValue, caughtError); + throw new CacheableObjectPropertyValueError( + property, oldValue, newValue, {cause: caughtError}); } } |