mirror of https://github.com/embarklabs/embark.git
small fixes
This commit is contained in:
parent
446f28ed6f
commit
74d5ee3984
|
@ -156,5 +156,7 @@
|
||||||
"Blockchain process ended before the end of this process. Code: %s": "Blockchain process ended before the end of this process. Code: %s",
|
"Blockchain process ended before the end of this process. Code: %s": "Blockchain process ended before the end of this process. Code: %s",
|
||||||
"Cannot start {{platform}} node on {{protocol}}://{{host}}{{port}}.": "Cannot start {{platform}} node on {{protocol}}://{{host}}{{port}}.",
|
"Cannot start {{platform}} node on {{protocol}}://{{host}}{{port}}.": "Cannot start {{platform}} node on {{protocol}}://{{host}}{{port}}.",
|
||||||
"Cannot upload: {{platform}} node is not running on {{url}}.": "Cannot upload: {{platform}} node is not running on {{url}}.",
|
"Cannot upload: {{platform}} node is not running on {{url}}.": "Cannot upload: {{platform}} node is not running on {{url}}.",
|
||||||
"Cannot start {{platform}} node on {{url}}.": "Cannot start {{platform}} node on {{url}}."
|
"Cannot start {{platform}} node on {{url}}.": "Cannot start {{platform}} node on {{url}}.",
|
||||||
|
"Storage process for swarm ended before the end of this process. Code: 0": "Storage process for swarm ended before the end of this process. Code: 0",
|
||||||
|
"error uploading to swarm": "error uploading to swarm"
|
||||||
}
|
}
|
|
@ -1,12 +1,6 @@
|
||||||
const UploadIPFS = require('./upload.js');
|
const UploadIPFS = require('./upload.js');
|
||||||
const utils = require('../../utils/utils.js');
|
const utils = require('../../utils/utils.js');
|
||||||
const fs = require('../../core/fs.js');
|
const fs = require('../../core/fs.js');
|
||||||
const RunCode = require('../../coderunner/runCode');
|
|
||||||
const IpfsApi = require('ipfs-api');
|
|
||||||
const _ = require('underscore');
|
|
||||||
const UploadIPFS = require('./upload.js');
|
|
||||||
const utils = require('../../utils/utils.js');
|
|
||||||
const fs = require('../../core/fs.js');
|
|
||||||
const IpfsApi = require('ipfs-api');
|
const IpfsApi = require('ipfs-api');
|
||||||
const _ = require('underscore');
|
const _ = require('underscore');
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,7 @@ class SpecialConfigs {
|
||||||
self.replaceWithAddresses(cmd, nextMapCb);
|
self.replaceWithAddresses(cmd, nextMapCb);
|
||||||
}, (err, result) => {
|
}, (err, result) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
self.logger.trace(err);
|
||||||
return cb(new Error("error running afterDeploy"));
|
return cb(new Error("error running afterDeploy"));
|
||||||
}
|
}
|
||||||
let onDeployCode = result;
|
let onDeployCode = result;
|
||||||
|
|
|
@ -170,7 +170,7 @@ class Storage {
|
||||||
}
|
}
|
||||||
self._startStorageNode(platform, (err) => {
|
self._startStorageNode(platform, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
self.logger.error(err);
|
self._logger.error(err);
|
||||||
return callback(errorObj);
|
return callback(errorObj);
|
||||||
}
|
}
|
||||||
// Check endpoint again to see if really did start
|
// Check endpoint again to see if really did start
|
||||||
|
@ -196,7 +196,7 @@ class Storage {
|
||||||
}
|
}
|
||||||
self._startStorageNode(dappConn.provider, (err) => {
|
self._startStorageNode(dappConn.provider, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
self.logger.error(err);
|
self._logger.error(err);
|
||||||
return callback(errorObj);
|
return callback(errorObj);
|
||||||
}
|
}
|
||||||
// Check endpoint again to see if really did start
|
// Check endpoint again to see if really did start
|
||||||
|
|
Loading…
Reference in New Issue