Jrnl: On error, dump crash log to local storage with option to submit it

Created on 11 Dec 2019  路  4Comments  路  Source: jrnl-org/jrnl

Feature Request

It would be nice to make it easy as possible to report and troubleshoot fatal errors with jrnl. A crashlog submission tool could provide us with this.

Some ideas so far:

  • Using a tool like Sentry as an intake, but also just showing the path to the file if the user wants to manually submit it (or review it, etc.)
  • Privacy first! Make it absolutely clear that crash logs will only be sent if the user explicitly requests it
  • Might even want a config option to prevent the writing of this file, for users that want that much more piece of mind

This comes out of issue #764 regarding analytics. See also issue #727 regarding a command line diagnostic argument - similar, but not quite the same, since this issue is about error handling whereas that one is about initiating a diagnostic.

enhancement stale

Most helpful comment

Thinking about this some more since it popped in stale. Maybe it's still best not to have the application dump files here and there by default. But we could still possibly implement better error handling, and output more useful information into the console for users to copy-paste if they do want to report it.

All 4 comments

I was fairly vocal about #764. I am completely okay with dumping a file. May I suggest that the defaults are to dump a cleartext file if journal-file is not encrypted, and a ciphertext file if the journal-file is encrypted, using the same cipher-key as the journal-file?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Thinking about this some more since it popped in stale. Maybe it's still best not to have the application dump files here and there by default. But we could still possibly implement better error handling, and output more useful information into the console for users to copy-paste if they do want to report it.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

makais picture makais  路  5Comments

mandarvaze picture mandarvaze  路  6Comments

marekkowalczyk picture marekkowalczyk  路  5Comments

anoopd picture anoopd  路  10Comments

MinchinWeb picture MinchinWeb  路  4Comments