From 6beb3c73e0854ae100334334b8583e4b68da0e46 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 22 Dec 2024 20:11:25 +0100 Subject: [PATCH] Fix error message --- src/controllers/api/shipDecorationsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/shipDecorationsController.ts b/src/controllers/api/shipDecorationsController.ts index 4966ab8b..be09fe9f 100644 --- a/src/controllers/api/shipDecorationsController.ts +++ b/src/controllers/api/shipDecorationsController.ts @@ -13,7 +13,7 @@ export const shipDecorationsController: RequestHandler = async (req, res) => { res.send(placedDecoration); } catch (error: unknown) { if (error instanceof Error) { - logger.error(`error in saveLoadoutController: ${error.message}`); + logger.error(`error in shipDecorationsController: ${error.message}`); res.status(400).json({ error: error.message }); } }