0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Fix exception when heal item can't be found (#1049)

This commit is contained in:
Chomp 2025-01-08 20:59:37 +00:00 committed by GitHub
commit 9d2a10a748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ export class HealthController {
if (!healingItemToUse) { if (!healingItemToUse) {
const errorMessage = this.localisationService.getText( const errorMessage = this.localisationService.getText(
"health-healing_item_not_found", "health-healing_item_not_found",
healingItemToUse._id, request.item,
); );
this.logger.error(errorMessage); this.logger.error(errorMessage);