Skip to content

Commit

Permalink
Use ReplacementTransactionunderpriced error string at cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LefterisJP committed Jul 21, 2018
1 parent 63f7276 commit 08c3727
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions raiden/ui/cli.py
Expand Up @@ -1002,11 +1002,10 @@ def _run_app():
# Shouldn't happen
raise RuntimeError(f"Invalid transport type '{kwargs['transport']}'")
app_.stop(leave_channels=False)
except ReplacementTransactionUnderpriced:
except ReplacementTransactionUnderpriced as e:
print(
'It looks like the same account is being used by different '
'applications. Please make sure that this Raiden node is the '
'only user of the selected account',
'{}. Please make sure that this Raiden node is the '
'only user of the selected account'.format(str(e)),
)
sys.exit(1)

Expand Down

0 comments on commit 08c3727

Please sign in to comment.