Git Product home page Git Product logo

winston-raygun's People

Contributors

mr-mig avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

winston-raygun's Issues

HTTP Error

When using Raygun the transport:

logger.error('Ting Raygun', {errorType:'Error', message: 'Test this error'}, 'Error', new Error('another'), 'string', false, 9);

I get the following error:

_http_outgoing.js:333
    throw new Error('"name" and "value" are required for setHeader().');
          ^
Error: "name" and "value" are required for setHeader().
    at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11)
    at new ClientRequest (_http_client.js:101:14)
    at Object.exports.request (http.js:49:10)
    at Object.exports.request (https.js:136:15)
    at Object.send (/Users/goliatone/myProject/eventstream/node_modules/winston-raygun/node_modules/raygun/lib/raygun.transport.js:26:22)
    at raygun.send (/Users/goliatone/myProject/eventstream/node_modules/winston-raygun/node_modules/raygun/lib/raygun.js:52:21)
    at Raygun.log (/Users/goliatone/myProject/eventstream/node_modules/winston-raygun/lib/winston_raygun.js:36:30)
    at emit (/Users/goliatone/myProject/eventstream/node_modules/winston/lib/winston/logger.js:186:17)
    at /Users/goliatone/myProject/eventstream/node_modules/winston/node_modules/async/lib/async.js:122:13
    at _each (/Users/goliatone/myProject/eventstream/node_modules/winston/node_modules/async/lib/async.js:46:13)

I pretty much copied and pasted some of the test code you have.

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.