Skip to content

Commit dc4d9bc

Browse files
committed
core: Reword end of exception popup to motivate reporting.
The exception details and traceback are made available in the popup, but it may be unclear why this would be necessary until later, so this adjusts the text to motivate capturing this information when reporting a bug or issue.
1 parent 4ffefb8 commit dc4d9bc

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

zulipterminal/core.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -714,10 +714,13 @@ def _raise_exception(self, *args: Any, **kwargs: Any) -> Literal[True]:
714714
"* an issue at "
715715
"https://github.com/zulip/zulip-terminal/issues"
716716
"\n\n"
717-
f"Details of the exception can be found in {exception_logfile}"
718-
"\n\n"
719-
f"Press [{primary_display_key_for_command('COPY_TRACEBACK')}]"
720-
" to copy traceback to clipboard."
717+
"When reporting, it would be helpful to provide details of the "
718+
"exception beyond the quick summary above, which you can obtain:"
719+
"\n"
720+
f"* from the end of '{exception_logfile}'"
721+
"\n"
722+
"* by copying the details to the clipboard now "
723+
f"(press [{primary_display_key_for_command('COPY_TRACEBACK')}])"
721724
)
722725
full_traceback = "".join(traceback.format_exception(*exc))
723726
self.show_exception_popup(message, traceback=full_traceback, width=80)

0 commit comments

Comments
 (0)