We're currently only showing the "Raise GitHub Issue' activity on the error view controller share sheet ifError.gitHubIssueUrl is non-nil. It might be better to make gitHubIssueUrl non-nil and ensure that we can generate one for all Error instances (it seems like a valid use-case), and then use a different mechanism to determine whether we should add the 'Raise GitHub Issue' button to the error alert when a program terminates.
We're currently only showing the "Raise GitHub Issue' activity on the error view controller share sheet if
Error.gitHubIssueUrl
is non-nil. It might be better to makegitHubIssueUrl
non-nil and ensure that we can generate one for allError
instances (it seems like a valid use-case), and then use a different mechanism to determine whether we should add the 'Raise GitHub Issue' button to the error alert when a program terminates.