mirror of https://github.com/BTCPrivate/copay.git
better error on recreate
This commit is contained in:
parent
b74c01f5b7
commit
dc7676e4b0
|
@ -448,7 +448,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.setOngoingProcess('recreating', false);
|
||||
|
||||
if (err) {
|
||||
self.clientError('Could not recreate wallet:' + err);
|
||||
$log.error(err);
|
||||
self.clientError('Could not recreate wallet:' + (err.error ? err.error : err));
|
||||
$rootScope.$apply();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue