Mercurial > gemma
comparison client/src/components/Pdftool.vue @ 5447:7a96321be219
Commented out a console logging in client to supress build warnings.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 14 Jul 2021 17:52:32 +0200 |
parents | 351d38269e4e |
children | 661af6353d3b |
comparison
equal
deleted
inserted
replaced
5446:e36cadc51d35 | 5447:7a96321be219 |
---|---|
332 } | 332 } |
333 this.$store.commit("bottlenecks/setSoundingInfo", soundingInfo); | 333 this.$store.commit("bottlenecks/setSoundingInfo", soundingInfo); |
334 this.generatePDF(soundingInfo); | 334 this.generatePDF(soundingInfo); |
335 }) | 335 }) |
336 .catch(error => { | 336 .catch(error => { |
337 console.log(error); | 337 // console.log(error); |
338 let message = "Backend not reachable"; | 338 let message = "Backend not reachable"; |
339 if (error.response) { | 339 if (error.response) { |
340 const { status, data } = error.response; | 340 const { status, data } = error.response; |
341 message = `${status}: ${data.message || data}`; | 341 message = `${status}: ${data.message || data}`; |
342 } | 342 } |