mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add issue tracker link to compiler bug message
This commit is contained in:
parent
bef92f2879
commit
b00401d53f
1 changed files with 6 additions and 2 deletions
|
@ -27,6 +27,8 @@ class _colors:
|
|||
YELLOW = '\033[33m'
|
||||
FAINT = '\033[2m'
|
||||
BOLD = '\033[1m'
|
||||
BLUE = '\033[34m'
|
||||
UNDERLINE = '\033[4m'
|
||||
CLEAR = '\033[0m'
|
||||
|
||||
class PrintableError(Exception):
|
||||
|
@ -122,6 +124,8 @@ def report_compile_error():
|
|||
print(traceback.format_exc())
|
||||
print(f"Arguments: {sys.argv}\n")
|
||||
print(f"""{_colors.BOLD}{_colors.RED}***** COMPILER BUG *****
|
||||
The gtk-blueprint-tool program has crashed. Please report the above stacktrace
|
||||
to the maintainers, along with the input file(s) if possible.{_colors.CLEAR}""")
|
||||
The gtk-blueprint-tool program has crashed. Please report the above stacktrace,
|
||||
along with the input file(s) if possible, on GitLab:
|
||||
{_colors.BOLD}{_colors.BLUE}{_colors.UNDERLINE}https://gitlab.gnome.org/jwestman/gtk-blueprint-tool/-/issues/new?issue
|
||||
{_colors.CLEAR}""")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue