From acb0a6f117987e44b91eda1be9ad44d70238b8fc Mon Sep 17 00:00:00 2001 From: Balaji Vijayakumar Date: Fri, 9 Dec 2022 12:59:26 +0530 Subject: migrate npm to pnpm for build --- app/Controllers/Http/ServiceController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js index 1be0484..b39f79b 100644 --- a/app/Controllers/Http/ServiceController.js +++ b/app/Controllers/Http/ServiceController.js @@ -245,7 +245,8 @@ class ServiceController { try { await fs.access(iconPath); - } catch { + } catch (ex) { + console.log(ex); // File not available. return response.status(404).send({ status: "Icon doesn't exist", -- cgit v1.2.3-54-g00ecf