Better error reporting on instantiate page
[osm/UI.git] / skyquake / plugins / launchpad / src / instantiate / instantiateStore.js
index b673e3a..0d9e1b6 100644 (file)
@@ -191,6 +191,9 @@ class LaunchNetworkServiceStore {
     }
     launchNSRError(data) {
         var msg = 'Something went wrong while trying to instantiate. Check the error logs for more information';
+        if(data) {
+            msg = data;
+        }
         if (data.error) {
             msg = data.error;
         }