diff options
author | Balaji Vijayakumar <kuttibalaji.v6@gmail.com> | 2022-12-09 12:59:26 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-12-09 13:51:05 +0530 |
commit | acb0a6f117987e44b91eda1be9ad44d70238b8fc (patch) | |
tree | c2a1fff569df611ddfd2310bdefe45f912e4b736 /app/Controllers/Http/ServiceController.js | |
parent | Fix logic used to check if there were local changes in docker builds (diff) | |
download | ferdium-server-acb0a6f117987e44b91eda1be9ad44d70238b8fc.tar.gz ferdium-server-acb0a6f117987e44b91eda1be9ad44d70238b8fc.tar.zst ferdium-server-acb0a6f117987e44b91eda1be9ad44d70238b8fc.zip |
migrate npm to pnpm for build
Diffstat (limited to 'app/Controllers/Http/ServiceController.js')
-rw-r--r-- | app/Controllers/Http/ServiceController.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
245 | 245 | ||
246 | try { | 246 | try { |
247 | await fs.access(iconPath); | 247 | await fs.access(iconPath); |
248 | } catch { | 248 | } catch (ex) { |
249 | console.log(ex); | ||
249 | // File not available. | 250 | // File not available. |
250 | return response.status(404).send({ | 251 | return response.status(404).send({ |
251 | status: "Icon doesn't exist", | 252 | status: "Icon doesn't exist", |