projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RIFT-15134: launchpad has wrong hostname for account URL when using floatingip/NAT...
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
instantiate
/
launchNetworkServiceSource.js
diff --git
a/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js
b/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js
index
b4b7173
..
6c5daaa
100644
(file)
--- a/
skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js
+++ b/
skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js
@@
-131,9
+131,10
@@
export default function(Alt){
var error;
if(xhr.responseText) {
try {
var error;
if(xhr.responseText) {
try {
- error = JSON.stringify(xhr.responseText);
+ error = JSON.parse(xhr.responseText);
+ error = JSON.parse(error.error)['rpc-reply']['rpc-error']['error-message'];
} catch(e){
} catch(e){
-
+ console.log(e);
}
}
reject(error);
}
}
reject(error);