Changeset ad56c6b in rtems-source-builder


Ignore:
Timestamp:
May 19, 2019, 12:39:39 AM (4 weeks ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
a74e432
Parents:
c1431be
Message:

sb: Fix error handling on thread exceptions when bootstraping.

Location:
source-builder/sb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/bootstrap.py

    rc1431be rad56c6b  
    117117    def reraise(self):
    118118        if self.result is not None:
    119             raise self.result[0](self.result[1]).with_traceback(self.result[2])
     119            raise self.result[0](self.result[1])
    120120
    121121class autoreconf:
  • source-builder/sb/error.py

    rc1431be rad56c6b  
    3434    """Raise for a general error."""
    3535    def __init__(self, what):
    36         self.set_output('error: ' + what)
     36        self.set_output('error: ' + str(what))
    3737
    3838class internal(error):
    3939    """Raise for an internal error."""
    4040    def __init__(self, what):
    41         self.set_output('internal error: ' + what)
     41        self.set_output('internal error: ' + str(what))
    4242
    4343class exit(error):
Note: See TracChangeset for help on using the changeset viewer.