js-error-logger
v0.2.6
Published
JS Logger
Downloads
34
Readme
JS Logger
This contains both the front end hooks and the back end server code for catching and saving javascript errors
# Jira Example
#
# {
# "name": "jira",
# "excludedTypes": ["doubleping", "jsevent"],
# "config": {
# "jiraItemMap": {
# "frontEndField": "jiraFieldName"
# },
# "requestOptions": {
# "uri": "http://jira.somesystem.local/rest/api/2/issue/",
# "auth": {
# "user": "[email protected]",
# "pass": "Tes123"
# },
# "method": "POST"
# },
# "requestData": {
# "fields": {
# "project": {
# "key": "MYPROJECT"
# }
# }
# }
# }
# }
{
"name": "emailer",
"excludedTypes": ["doubleping", "jsevent"],
"config": {
"mailOptions": {
"from": "[email protected]",
"to": "[email protected]",
"subject": "Javascript Error"
}
}
}
Some other configs of interest:
tmpFileLocation - image save base directory