remove obsolete logging

This commit is contained in:
Thomas Ruoff
2017-02-21 23:10:18 +01:00
parent 22a5b92079
commit e2e85a9be6
4 changed files with 3 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ function generateDoc(id, callback) {
callback(`pdflatex returned with code ${code}`);
return;
}
console.log('PDF generated');
console.log(`PDF ${id} generated`);
callback(null, id);
});
}

View File

@@ -4,8 +4,6 @@ function convertLineBreaks(string){
module.exports = (options) => {
console.log(options);
const {
template = 'brief-fam',
subject = 'Betreff',

View File

@@ -7,7 +7,7 @@ export function generatePdf(state){
body: JSON.stringify(state)
}).then(function(res) {
if (res.status !== 200) {
console.log('request failed');
console.error('request failed');
return;
}
return res.json();

View File

@@ -8,9 +8,8 @@ function init() {
init();
if (process.env.NODE_ENV === 'production') {
console.log('for real now');
console.log('What are ya looking at?');
} else {
// use preact's devtools
require('preact/devtools');
// listen for HMR
if (module.hot) {