diff options
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", |