mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Fix error handling on thread exceptions when bootstraping.
This commit is contained in:
@@ -33,12 +33,12 @@ class error(Exception):
|
||||
class general(error):
|
||||
"""Raise for a general error."""
|
||||
def __init__(self, what):
|
||||
self.set_output('error: ' + what)
|
||||
self.set_output('error: ' + str(what))
|
||||
|
||||
class internal(error):
|
||||
"""Raise for an internal error."""
|
||||
def __init__(self, what):
|
||||
self.set_output('internal error: ' + what)
|
||||
self.set_output('internal error: ' + str(what))
|
||||
|
||||
class exit(error):
|
||||
"""Raise for to exit."""
|
||||
|
Reference in New Issue
Block a user