changeset 2424:b6deb03ef13f

client: fix linter error (empty block)
author Markus Kottlaender <markus@intevation.de>
date Thu, 28 Feb 2019 16:02:56 +0100
parents 3423cd4b3136
children 4c16f5ad1905
files client/src/components/identify/Identify.vue
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/identify/Identify.vue	Thu Feb 28 15:34:07 2019 +0100
+++ b/client/src/components/identify/Identify.vue	Thu Feb 28 16:02:56 2019 +0100
@@ -179,7 +179,9 @@
       ) {
         try {
           return JSON.parse(val);
-        } catch (e) {}
+        } catch (e) {
+          return null;
+        }
       }
       return null;
     }