Commit 47cbb31a8de94c5c445e9f11c35727794e4d9c78
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !29
Showing
2 changed files
Show diff stats
rutas/comprobantes.js
| ... | ... | @@ -67,6 +67,10 @@ router.post('/comprobante', function(req, res) { |
| 67 | 67 | .then(() => { |
| 68 | 68 | res.status(200).send('Comprobante guardado con éxito'); |
| 69 | 69 | }) |
| 70 | - .catch(err => res.status(500).send(err)); | |
| 70 | + .catch(err => { | |
| 71 | + console.log(err); | |
| 72 | + console.log('error al guardar algo ruta comprobantes'); | |
| 73 | + res.status(500).send(err) | |
| 74 | + }); | |
| 71 | 75 | |
| 72 | 76 | }); |