RIFT-14970: Display RPC error on instantiation if present
[osm/UI.git] / skyquake / plugins / launchpad / src / instantiate / instantiateStore.js
index a215230..b13e242 100644 (file)
@@ -184,9 +184,9 @@ class LaunchNetworkServiceStore {
     }
     launchNSRError(error) {
         var msg = 'Something went wrong while trying to instantiate. Check the error logs for more information';
-        // if(error) {
-        //     msg = error;
-        // }
+        if(error) {
+            msg = error;
+        }
         Alt.actions.global.showNotification.defer(msg);
         Alt.actions.global.hideScreenLoader.defer();
         this.setState({