diff options
Diffstat (limited to 'src/data/things/cacheable-object.js')
-rw-r--r-- | src/data/things/cacheable-object.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/cacheable-object.js b/src/data/things/cacheable-object.js index 9fda865e..a8610fad 100644 --- a/src/data/things/cacheable-object.js +++ b/src/data/things/cacheable-object.js @@ -180,7 +180,7 @@ export default class CacheableObject { throw new TypeError(`Validation failed for value ${newValue}`); } } catch (caughtError) { - throw new CacheableObjectPropertyValueError(property, this[property], newValue, caughtError); + throw new CacheableObjectPropertyValueError(property, oldValue, newValue, caughtError); } } |