IRC logs of #tryton for Thursday, 2017-08-31

chat.freenode.net #tryton log beginning Thu Aug 31 00:00:01 CEST 2017
-!- thaneor1(~ldlc6@r179-24-117-118.dialup.adsl.anteldata.net.uy) has joined #tryton00:10
-!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton01:11
-!- JosDzG(~Thunderbi@189.250.63.32) has joined #tryton01:45
-!- smarro(~sebastian@181.16.7.104) has joined #tryton02:05
-!- kstenger(~karla@r179-24-191-194.dialup.adsl.anteldata.net.uy) has joined #tryton02:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:28
-!- cdchapman(~perturbed@198.60.8.71) has joined #tryton02:29
-!- JosDzG(~Thunderbi@189.250.63.32) has joined #tryton02:47
-!- JosDzG(~Thunderbi@189.250.63.32) has joined #tryton02:59
-!- smarro(~sebastian@181.16.7.104) has joined #tryton03:16
-!- kstenger(~karla@r179-24-191-194.dialup.adsl.anteldata.net.uy) has joined #tryton04:16
-!- csotelo(~csotelo@2001:1388:49c7:7699:77d4:51:efa6:96f9) has joined #tryton05:05
-!- alexbodn(~alex@213.57.190.189) has joined #tryton06:41
-!- rpit(~rpit@aftr-37-24-146-36.unity-media.net) has joined #tryton07:52
-!- alexbodn(~alex@213.57.190.189) has joined #tryton08:06
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton08:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:33
-!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton10:00
dmollermHi everybody? Need some thoughts about this: in a controller for a user application route, for a particular request the underlying Model methods can raise many UserError exceptions. How could I catch them and consistently distinguish them so as to return a particular http response in case the UserError was originated by, let's say, a particular SQL constraint?10:12
pokolidmollerm: do you control the underlying model?10:15
pokolidmollerm: or it's a model of other module?10:16
cedkdmollerm: we do not have such mechanism yet10:32
cedkdmollerm: I would like to have specialized exception but it will require first to have https://bugs.tryton.org/issue367210:34
xcodinascedk: If we agree on the design I'll try to push issue3672 for 4.610:46
dmollermWe do not control the underlying model, so we will pre-check if the error will be raised before operation. Thanks for the answers!10:48
-!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton10:49
cedkxcodinas: I have to find time to review it10:57
xcodinascedk: I won't go further on it untill we agree on the design so take your time :)11:05
-!- csotelo(~csotelo@2001:1388:49c7:7699:77d4:51:efa6:96f9) has joined #tryton11:22
-!- thaneor(~ldlc6@r179-25-172-251.dialup.adsl.anteldata.net.uy) has joined #tryton12:14
-!- mariomop(~quassel@181.90.129.121) has joined #tryton12:37
-!- mariomop(~quassel@181.90.129.121) has joined #tryton12:52
-!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton13:25
-!- smarro(~sebastian@181.16.7.104) has joined #tryton14:06
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton14:08
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton14:34
-!- rpit(~rpit@2a02:908:e671:9f80:56ee:75ff:fe0d:d3c7) has joined #tryton14:41
-!- udono1(~udono@023-059-210-188.ip-addr.inexio.net) has joined #tryton14:41
-!- udono(~udono@023-059-210-188.ip-addr.inexio.net) has joined #tryton14:42
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton15:01
-!- kstenger(~karla@r167-56-240-119.dialup.adsl.anteldata.net.uy) has joined #tryton16:19
-!- smarro(~sebastian@181.16.7.104) has joined #tryton16:23
-!- smarro(~sebastian@181.16.7.104) has joined #tryton16:40
-!- JosDzG(~Thunderbi@189.250.63.32) has joined #tryton17:33
-!- kstenger(~karla@r186-48-246-45.dialup.adsl.anteldata.net.uy) has joined #tryton17:37
-!- alexbodn(~alex@213.57.190.189) has joined #tryton18:11
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:53
-!- kstenger(~karla@r167-56-247-76.dialup.adsl.anteldata.net.uy) has joined #tryton18:54
-!- JosDzG(~Thunderbi@189.250.63.32) has joined #tryton21:59
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:00
-!- JosDzG(~Thunderbi@189.250.63.32) has joined #tryton22:51
-!- alexbodn(~alex@213.57.190.189) has joined #tryton23:17
-!- mariomop(~quassel@181.90.129.121) has joined #tryton23:21
-!- smarro(~sebastian@181.16.7.104) has joined #tryton23:30

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!