From 3bbeea69c6356edd5792ac7898b9623c2e1519de Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 5 Mar 2022 21:34:59 -0400 Subject: non-jpg full res art links, artist avatars --- src/data/cacheable-object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/data/cacheable-object.js') diff --git a/src/data/cacheable-object.js b/src/data/cacheable-object.js index 9928095..4afb036 100644 --- a/src/data/cacheable-object.js +++ b/src/data/cacheable-object.js @@ -169,7 +169,7 @@ export default class CacheableObject { const oldValue = this.#propertyUpdateValues[property]; if (newValue === undefined) { - throw new ValueError(`Properties cannot be set to undefined`); + throw new TypeError(`Properties cannot be set to undefined`); } if (newValue === oldValue) { -- cgit 1.3.0-6-gf8a5