Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/dashbot-google.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function DashBotGoogle(apiKey, urlRoot, debug, printErrors, config) {
if (intent) {
data.intent = intent
}
internalLogIncoming(data, 'npm');
return internalLogIncoming(data, 'npm');
};

that.logOutgoing = function(requestBody, message, metadata) {
Expand All @@ -127,7 +127,7 @@ function DashBotGoogle(apiKey, urlRoot, debug, printErrors, config) {
if (metadata) {
data.metadata = metadata
}
internalLogOutgoing(data, 'npm');
return internalLogOutgoing(data, 'npm');
};

return that;
Expand Down
8 changes: 4 additions & 4 deletions src/make-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ module.exports = function (data, printErrors, redact, timeout = 15000) {
}
return response
})
} else {
p.catch(function(err) {
// ignore
});
}

return p.catch(function(err) {
// ignore
})
}