Module: bugreport

Methods

(async, inner) processBugReport(originalUrl, ip, email, report)

Process bugreport submitted by a user at a specific route: Send the bugreport email to admin, log the bugreport via the admin module and create an anonymised issue on Github.
Parameters:
Name Type Description
originalUrl String
ip String
email String
report String text
Source:

(async, inner) sendBugReport(bugreport)

Send a bug report email to the bug report email address specified in .env. This sets the sender of the email to be the server email address, but the user's email is specified in the body of the email if they provided one.
Parameters:
Name Type Description
bugreport Object
Source: