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:
commit
9d2a10a748
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user