Giter VIP home page Giter VIP logo

node-crashreporter's Introduction

sdolard

Personal web pages

node-crashreporter's People

Contributors

sdolard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node-crashreporter's Issues

Check path acces


crashreporter Error

Error: EACCES, permission denied '/usr/lib/node_modules/netasqcomm/bin/crash'
at Object.fs.mkdirSync (fs.js:642:18)
at Function.sync (/usr/lib/node_modules/netasqcomm/node_modules/mkdirp/index.js:55:12)
at CrashReporter.testOutdir (/usr/lib/node_modules/netasqcomm/node_modules/crashreporter/lib/crashreporter.js:140:13)
at CrashReporter.configure (/usr/lib/node_modules/netasqcomm/node_modules/crashreporter/lib/crashreporter.js:27:8)
at Object.exports.configure (/usr/lib/node_modules/netasqcomm/node_modules/crashreporter/lib/crashreporter.js:221:25)
at Object. (/usr/lib/node_modules/netasqcomm/lib/nncli-app.js:11:42)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Can we make mail dependy optional?

Hi! Great job!
I don't wan't to send emails when nodejs crashes. It would be great if the email feature is added as an optional transport so that I don't have downloaded this deps

Please see this forked repo chbohm/node-crashreporter just to see the idea.
Best,
Christian

Using Amazon SNS

Hello,

Is there a way we could use Amazon SNS instead of Gmail for mailing service?

Error sending email on crash

I tried to setup email on crash report and got this:

/Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:241
this.mailcomposer.setMessageOption(mailOptions);
^

TypeError: this.mailcomposer.setMessageOption is not a function
at Nodemailer.setGeneralOptions (/Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:241:23)
at Nodemailer.generateMailObject (/Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:196:10)
at Nodemailer.sendMail (/Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:184:10)
at /Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:69:20
at Nodemailer.validateSettings (/Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:173:5)
at sendMail (/Users/huytran/training/bryony/crash-report/node_modules/nodemailer/lib/nodemailer.js:63:12)
at Transport.transport.sendMail (/Users/huytran/trainiHuys-MacBook-Pro-2:crash-report

I fixed it by change the version of node-mailer from 0.3.x to 0.5.x
You can use my forked version to avoid this https://github.com/tranquochuy/node-crashreporter/tarball/master

How to enable mail send option with Mailgun. I could not able to send bug report through email

I have integrated crashreporter in my project. When any crash happen in my running project it is generating new file, but I am not able receive any email.

Here Is my configuration Which i have done in my project

crashreporter.configure({
exitOnCrash: false,
maxCrashFile: 5,
mailEnabled: true,
mailTransportName: 'SMTP',
mailTransportConfig: {
service: 'Mailgun',
auth: {
user: 'abc',
pass: 'xyz'
}
},
mailSubject: 'Code crash in ABC',
mailFrom: 'abc [email protected]',
mailTo: '[email protected]'
}}

Error: Cannot find module 'crashreporter'

Looks like you have error in you package.json for latest release/tag 1.0.0

"main": "index.js"

You already fixed it in master, but did not make new release/tag yet. Could you do it please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.