URI: 
       tqt channels_list: use repr() and not str() for exceptions - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 18d06dd6b4f5bcb21eb78690a51680664ce259d4
   DIR parent d439b3c308774cab2c6e6512bcf91232cddd6447
  HTML Author: Janus <ysangkok@gmail.com>
       Date:   Wed, 10 Oct 2018 13:47:23 +0200
       
       qt channels_list: use repr() and not str() for exceptions
       
       Diffstat:
         M electrum/gui/qt/channels_list.py    |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py
       t@@ -1,4 +1,5 @@
        # -*- coding: utf-8 -*-
       +import asyncio
        from PyQt5 import QtCore, QtWidgets
        from PyQt5.QtWidgets import *
        
       t@@ -116,4 +117,5 @@ class ChannelsList(MyTreeWidget):
                try:
                    self.parent.wallet.lnworker.open_channel(*args, **kwargs)
                except Exception as e:
       -            self.parent.show_error('Cannot open channel: %s' % str(e))
       +            # don't use str(e) because str(asyncio.TimeoutError()) (and many others) is ''
       +            self.parent.show_error('Cannot open channel: %s' % repr(e))