Commit c5354358 authored by zeroleak's avatar zeroleak
Browse files

forward local CLI errors

parent a2deed83
......@@ -309,7 +309,12 @@ class CliService {
}
setCliLocalState(cliLocalState) {
this.updateState({cliLocalState: cliLocalState})
const newState = {cliLocalState: cliLocalState}
if (cliLocalState !== undefined && cliLocalState.error) {
// forward local CLI error
newState.cliUrlError = cliLocalState.error
}
this.updateState(newState)
}
doFetchState(cliUrl=undefined, apiKey=undefined) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment