Commit 3aa9411c6352830c5b32ad358521b22825031a8e
1 parent
fa714d35e9
Exists in
master
console log
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
index.js
... | ... | @@ -28,7 +28,9 @@ app.use('/gateway-debo', require('./rutas/login')); |
28 | 28 | |
29 | 29 | function onGetFile(fileString, nameFile) { |
30 | 30 | |
31 | - if (!fileString) return; | |
31 | + if (!fileString) { | |
32 | + console.log(`no se pueden los datos del archivo ${nameFile}`); | |
33 | + }; | |
32 | 34 | |
33 | 35 | require('./debo/validacion')(nameFile).then(function() { |
34 | 36 | |
... | ... | @@ -37,6 +39,7 @@ function onGetFile(fileString, nameFile) { |
37 | 39 | // Traigo proveedor, empresa |
38 | 40 | require('./debo/relaciones')(planex, wsServer).then(function(result) { |
39 | 41 | |
42 | + console.log(`obtengo relaciones debo ${nameFile}`); | |
40 | 43 | var planex = result.planex; |
41 | 44 | |
42 | 45 | var entities = {}; |