Merge pull request #361 from matiu/feat/log-txproposal
Feat/log txproposal
This commit is contained in:
commit
738418fd59
|
@ -19,6 +19,7 @@ function Insight(opts) {
|
|||
|
||||
var _parseErr = function(err, res) {
|
||||
if (err) {
|
||||
log.warn('Insight error: ', err);
|
||||
return "Insight Error";
|
||||
}
|
||||
log.warn("Insight " + res.request.href + " Returned Status: " + res.statusCode);
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
var _ = require('lodash');
|
||||
var $ = require('preconditions').singleton();
|
||||
var Uuid = require('uuid');
|
||||
var log = require('npmlog');
|
||||
log.debug = log.verbose;
|
||||
log.disableColor();
|
||||
|
||||
var WalletUtils = require('bitcore-wallet-utils');
|
||||
var Bitcore = WalletUtils.Bitcore;
|
||||
var Address = Bitcore.Address;
|
||||
|
@ -310,6 +314,7 @@ TxProposal.prototype.sign = function(copayerId, signatures, xpub) {
|
|||
|
||||
return true;
|
||||
} catch (e) {
|
||||
log.debug(e);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue