MCPcopy Index your code
hub / github.com/archlinux/archinstall / _error_message

Function _error_message

archinstall/main.py:176–189  ·  view source on GitHub ↗
(exc: Exception)

Source from the content-addressed store, hash-verified

174
175
176def _error_message(exc: Exception) -> None:
177 err = ''.join(traceback.format_exception(exc))
178 error(err)
179
180 text = textwrap.dedent(
181 """\
182 Archinstall experienced the above error. If you think this is a bug, please report it to
183 https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".
184
185 Hint: To upload the log and get a shareable URL, run
186 archinstall share-log
187 """
188 )
189 warn(text)
190
191
192def main() -> int:

Callers 1

mainFunction · 0.85

Calls 2

errorFunction · 0.90
warnFunction · 0.90

Tested by

no test coverage detected