def METHOD_NAME(self):
    def on_success(response: CrashReportResponse):
        text = response.text
        if response.url:
            text += f" You can track further progress on <a href='{response.url}'>GitHub</a>."
        self.show_message(parent=self,
                          title=_("Crash report"),
                          msg=text,
                          rich_text=True)
        self.close()
    def on_failure(exc_info):
        e = exc_info[1]
        self.logger.error('There was a problem with the automatic reporting', exc_info=exc_info)
        self.show_critical(parent=self,
                           msg=(_('There was a problem with the automatic reporting:') + '<br/>' +
                                repr(e)[:120] + '<br/><br/>' +
                                _("Please report this issue manually") +
                                f' <a href="{constants.GIT_REPO_ISSUES_URL}">on GitHub</a>.'),
                           rich_text=True)
    proxy = self.network.proxy
    task = lambda: BaseCrashReporter.METHOD_NAME(self, self.network.asyncio_loop, proxy)
    msg = _('Sending crash report...')
    WaitingDialog(self, msg, task, on_success, on_failure)