Ignore errors from dappsUrl when starting UI. (#6296)
* Ignore errors from dappsUrl when starting UI. * Fix linter.
This commit is contained in:
parent
2129edaae9
commit
cd0c77dc5c
@ -325,7 +325,8 @@ export default class SecureApi extends Api {
|
|||||||
_fetchSettings () {
|
_fetchSettings () {
|
||||||
return Promise
|
return Promise
|
||||||
.all([
|
.all([
|
||||||
this._uiApi.parity.dappsUrl(),
|
// ignore dapps disabled errors
|
||||||
|
this._uiApi.parity.dappsUrl().catch(() => null),
|
||||||
this._uiApi.parity.wsUrl()
|
this._uiApi.parity.wsUrl()
|
||||||
])
|
])
|
||||||
.then(([dappsUrl, wsUrl]) => {
|
.then(([dappsUrl, wsUrl]) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user