Addon to help in bug tracing

@kku has shared an experimental addon that can help in bug triage. It adds access to the stack trace from error dialogs.

Thanks Kari!

https://github.com/kkujansuu/gramps/tree/master/addons%2FErrorDetails

For fatal errors it is probably better to the ErrorView class:

import logging
LOG = logging.getLogger(".")
LOG.error("Error message")

This will give a stacktrace and allow the user to report the problem using the error report assistant.

The ErrorDialog should be used for recoverable errors. If you want to extend this, then I suggest using the expander widget and label used in the ErrorView class.

1 Like