Skip to content

Commit fd50fb0

Browse files
authored
Merge pull request #495 from datacamp/bb/improve-error-reporting-api-worker
chore: remove console.logs and test endpoint
2 parents 010551e + 2818704 commit fd50fb0

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

api/models/Topic.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,10 @@ module.exports = {
229229

230230
var topic = _.pick(rdJSON, attributes);
231231

232-
console.log('topic.usage before processing: ', topic.usage);
233232
if (topic.usage !== null && typeof topic.usage === 'object') {
234233
topic.usage = topic.usage.contents;
235234
}
236235

237-
console.log('topic.usage after processing: ', topic.usage);
238-
239236
if (topic.description !== null && typeof topic.description === 'object') {
240237
topic.description = topic.description.contents;
241238
}

config/routes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ module.exports.routes = {
184184

185185
// Parsing
186186
'get /api/parsing/jobs': 'PackageController.toParse',
187-
'post /api/process_message': 'WorkerController.processMessage',
188187
'get /api/users/*': 'UserController.show',
189188

190189
};

0 commit comments

Comments
 (0)