mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Removed mailgun-js dependency from package.json. Added missing colon to /lib/appenders/mailgun.js
This commit is contained in:
parent
df961350bc
commit
436782b614
@ -17,7 +17,7 @@ function mailgunAppender(_config, _layout) {
|
||||
to: _config.to,
|
||||
subject: _config.subject,
|
||||
text: layout(loggingEvent, config.timezoneOffset)
|
||||
}
|
||||
};
|
||||
|
||||
mailgun.messages().send(data, function (error, body) {
|
||||
if (error != null) console.error('log4js.mailgunAppender - Error happened', error);
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
"lib": "lib"
|
||||
},
|
||||
"dependencies": {
|
||||
"mailgun-js": "^0.7.7",
|
||||
"readable-stream": "~1.0.2",
|
||||
"semver": "~4.3.3"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user