'Generate a redirect to a Biostar site using external authentication to
pass Galaxy user information and information about a specific tool error.'

@web.expose
def biostar_tool_bug_report(self, trans, hda=None, email=None, message=None):

    try:
        error_reporter = biostar.BiostarErrorReporter(hda, trans.app)
        payload = error_reporter.send_report(trans.user, email=email, message=message)
    except Exception as e:
        return error(str(e))
    return self.biostar_redirect(trans, payload=payload, biostar_action='new_post')
