better error on recreate
This commit is contained in:
parent
b74c01f5b7
commit
dc7676e4b0
1 changed files with 2 additions and 1 deletions
|
|
@ -448,7 +448,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
self.setOngoingProcess('recreating', false);
|
self.setOngoingProcess('recreating', false);
|
||||||
|
|
||||||
if (err) {
|
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();
|
$rootScope.$apply();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue