handle the PeerID-already-in-use error and display a friendly message
This commit is contained in:
parent
f4f060a45b
commit
190185ac9c
3 changed files with 17 additions and 3 deletions
|
|
@ -162,10 +162,14 @@
|
|||
<!-- Templates -->
|
||||
<script type="text/ng-template" id="signin.html">
|
||||
<div class="signin" ng-controller="SigninController">
|
||||
<div data-alert class="alert-box info radius" ng-show="loading">
|
||||
<div data-alert class="alert-box info radius" ng-show="loading && !failure">
|
||||
<i class="size-21 fi-bitcoin-circle icon-rotate spinner"></i>
|
||||
Authenticating and Looking for peers...
|
||||
</div>
|
||||
<div class="alert-box error radius" ng-show="failure">
|
||||
Oops, we had an error! Looks like you are already connected to this wallet,
|
||||
please close all other Copay Wallets and <a ng-click='failure = false; loading = false'>Try again</a>.
|
||||
</div>
|
||||
<div ng-show="!loading">
|
||||
<div class="row">
|
||||
<div class="large-6 medium-6 columns">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue