diff --git a/ansible/roles/metrics/files/process-cloudflare/process-cloudflare.js b/ansible/roles/metrics/files/process-cloudflare/process-cloudflare.js index 081af2bac..2fa05a94a 100755 --- a/ansible/roles/metrics/files/process-cloudflare/process-cloudflare.js +++ b/ansible/roles/metrics/files/process-cloudflare/process-cloudflare.js @@ -164,7 +164,10 @@ function createPipeline (bucket, filename, processedFile, callback) { const jsonparse = JSON.parse(line) const printout = logTransform2(jsonparse) if (printout !== undefined) { results = results.concat(printout) } - } catch (err) { console.log(err) } + } catch (err) { + console.log('ERROR PARSING: "' + line + '" of length ' + line.length) + console.log(err) + } } writeBucket.file(processedFile).save(results, function (err) {