diff client/src/components/identify/Identify.vue @ 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 9de710bdb535
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;
     }