(exc: Exception)
| 174 | |
| 175 | |
| 176 | def _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 | |
| 192 | def main() -> int: |