mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 09:09:01 +00:00
Improve error message
This commit is contained in:
parent
8f773f6362
commit
1f75d7ec4c
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ class Interpreter {
|
|||
assert(
|
||||
(obj.type === "OBJECT" && typeof obj.value) === "object" &&
|
||||
obj.value != null,
|
||||
"Guru Meditation: Tried to call method on null object"
|
||||
`Guru Meditation: Tried to call method ${klass.name}.${methodName} on null object`
|
||||
);
|
||||
let value = obj.value[methodName](...methodArgs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue