node package manager

js-error-logger

JS Logger

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": "user@yahoo.com",
#            "pass": "Tes123"
#          },
#          "method": "POST"
#        },
#        "requestData": {
#          "fields": {
#            "project": {
#              "key": "MYPROJECT"
#            }
#          }
#        } 
#      }
#    }
      {
        "name": "emailer",
        "excludedTypes": ["doubleping", "jsevent"],
        "config": {
          "mailOptions": {
            "from": "system@yahoo.com",
            "to": "system@yahoo.com",
            "subject": "Javascript Error"
          }
        }
      }
 

Some other configs of interest:

tmpFileLocation - image save base directory