organic-exceptions-reporter

0.0.2 • Public • Published

organic-exceptions-reporter

Simple organelle for capturing uncaughtExceptions and for sending them via email

dna

  {
    dna.cooldownInterval: Number, miliseconds, default to 10 secs.
    dna.email: {
      transport: String, "sendmail" || "smtp" || "console.log" || "plasma"
      options: { 
        @when transport == "plasma"
          options.chemicalType: String, default "sendEmail"
        @when transport == "smtp"
          options.host: String
          options.port: Number
          options.auth: {
            user: String,
            pass: String
          }
      },
      from: String,
      to: Stirng,
      subject: String, default "Exception {id} - {date}"
    }
    dna.killOn: String, defaults to "kill"
  }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    1

Package Sidebar

Install

npm i organic-exceptions-reporter

Weekly Downloads

3

Version

0.0.2

License

MIT

Last publish

Collaborators

  • outbounder