adding type debug
This commit is contained in:
parent
f36611f07b
commit
abc8c72c7f
@ -142,7 +142,7 @@ class CachedItemWrapper:
|
||||
if self.id in self.lib:
|
||||
return self.lib[self.id]
|
||||
else:
|
||||
raise ValueError(f"Uncached item of id {self.id}.")
|
||||
raise ValueError(f"Uncached item of id {self.id}, type {self.type}.")
|
||||
|
||||
def to_dict(self):
|
||||
dict = self.item().to_dict()
|
||||
|
Loading…
x
Reference in New Issue
Block a user