Log request data when endpoint is missing
This commit is contained in:
parent
6da2ce2f74
commit
b5951a147b
@ -97,7 +97,7 @@ export class InventoryItemEventRouter extends ItemEventRouterDefinition
|
||||
case ItemEventActions.SET_FAVORITE_ITEMS:
|
||||
return this.inventoryCallbacks.setFavoriteItem(pmcData, body, sessionID);
|
||||
default:
|
||||
throw new Error(`Unhandled event ${url}`);
|
||||
throw new Error(`Unhandled event ${url} request: ${JSON.stringify(body)}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user