<commit_before>let Promise = require('bluebird');
let express = require('express');
let parser = require('body-parser');
let app = express();
let Config = require('../config');
let botanService = require('./services/botan-service');
let buildService = require('./services/build-service');
let logger = require('./logger');

app.use(parser.json());
app.get('/', (req, res) => {
	res.send('OK');
});

app.post('/codeship/:chatId', (req, res) => {
	res.send();
	let build = req.body ? req.body.build : null;
	let chatId = req.params.chatId;
	let mode = req.query.mode;
	let format = req.query.format;

	if (!build) {
		return;
	}
<commit_msg>Log if build data not present<commit_after>let Promise = require('bluebird');
let express = require('express');
let parser = require('body-parser');
let app = express();
let Config = require('../config');
let botanService = require('./services/botan-service');
let buildService = require('./services/build-service');
let logger = require('./logger');

app.use(parser.json());
app.get('/', (req, res) => {
	res.send('OK');
});

app.post('/codeship/:chatId', (req, res) => {
	res.send();
	let build = req.body ? req.body.build : null;
	let chatId = req.params.chatId;
	let mode = req.query.mode;
	let format = req.query.format;

	if (!build) {
		logger.error('No build in body present');
		return;
	}

{'fraction_non_alphanumeric': 0.20478325859491778, 'fraction_numerical': 0.0, 'mean_word_length': 4.443089430894309, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1011205', 'n_tokens_mistral': 443, 'n_tokens_neox': 437, 'n_words': 110}