Changeset ac679ba in rtems-tools


Ignore:
Timestamp:
Oct 21, 2017, 5:09:00 AM (19 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
af6a54d
Parents:
0054585
git-author:
Chris Johns <chrisj@…> (10/21/17 05:09:00)
git-committer:
Chris Johns <chrisj@…> (10/21/17 05:20:04)
Message:

tester: Print the host and port on error in telnet connect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/telnet.py

    r0054585 rac679ba  
    7575            self.conn.open(self.host, self.port, self.timeout)
    7676        except IOError as ioe:
    77             raise error.general('opening telnet dev: %s: %s' % (dev, ioe))
     77            raise error.general('opening telnet: %s:%d: %s' % (self.host,
     78                                                               self.port,
     79                                                               ioe))
    7880        except:
    79             raise error.general('opening telnet dev: %s: unknown' % (dev))
     81            raise error.general('opening telnet: %s:%d: unknown' % (self.host,
     82                                                                    self.port))
    8083
    8184    def off(self):
Note: See TracChangeset for help on using the changeset viewer.