mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Log raw ID when we can't find a class
This commit is contained in:
parent
7b37b647a6
commit
ffdbbeacb5
1 changed files with 3 additions and 1 deletions
|
|
@ -51,7 +51,9 @@ function getCallCountsFromMaki(buffer) {
|
|||
const classId = maki.classes[method.typeOffset];
|
||||
const klass = getClass(classId);
|
||||
if (klass == null) {
|
||||
throw new Error(`Unknown class ID: ${getFormattedId(classId)}`);
|
||||
throw new Error(
|
||||
`Unknown class ID: ${getFormattedId(classId)} aka ${classId} (raw)`
|
||||
);
|
||||
}
|
||||
const parentClass = getFunctionObject(klass, method.name);
|
||||
return `${parentClass.name}.${method.name.toLowerCase()}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue