X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FlaunchNetworkServiceSource.js;h=d5c33c11dc49e374e8c739717170115ab17071ea;hp=6c5daaafc27855450e5ee0c9079fd164d9c41410;hb=c09a6948835c9e519829e44f20d649a0dc555f3e;hpb=757cd367e122e32b5ac04d0196a932c8c35145e7 diff --git a/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js b/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js index 6c5daaafc..d5c33c11d 100644 --- a/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js +++ b/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js @@ -128,7 +128,7 @@ export default function(Alt){ }).fail(function(xhr){ //Authentication and the handling of fail states should be wrapped up into a connection class. Utils.checkAuthentication(xhr.status); - var error; + var error = null; if(xhr.responseText) { try { error = JSON.parse(xhr.responseText);