mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-22 12:08:14 +00:00
Return early when error
This commit is contained in:
parent
178115de18
commit
559c7152f7
@ -114,6 +114,9 @@ class StorageProcessesLauncher {
|
||||
this.events.once("web3Ready", () => {
|
||||
this.events.request("blockchain:object", (blockchain) => {
|
||||
blockchain.determineDefaultAccount((err, defaultAccount) => {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
self.processes[storageName].send({
|
||||
action: constants.storage.init, options: {
|
||||
storageConfig: self.storageConfig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user