Wednesday, 2020-07-22

*** gyee has quit IRC00:20
*** yaawang has quit IRC01:57
*** yaawang has joined #openstack-horizon01:58
*** dave-mccowan has quit IRC02:51
*** vishalmanchanda has joined #openstack-horizon05:55
*** dayou has quit IRC06:20
*** e0ne has joined #openstack-horizon06:27
*** ChanServ sets mode: +o e0ne06:27
*** dayou has joined #openstack-horizon06:28
*** rcernin has quit IRC07:32
*** tosky has joined #openstack-horizon07:39
*** tosky has quit IRC08:04
*** tosky_ has joined #openstack-horizon08:04
*** rdopiera has joined #openstack-horizon08:06
*** yaawang has quit IRC08:13
*** yaawang has joined #openstack-horizon08:13
*** tosky_ is now known as tosky08:19
*** rcernin has joined #openstack-horizon09:10
*** rcernin has quit IRC09:35
*** yaawang has quit IRC10:11
*** yaawang has joined #openstack-horizon10:13
*** yaawang has quit IRC10:20
*** yaawang has joined #openstack-horizon10:22
*** priteau has joined #openstack-horizon10:34
*** tkajinam has quit IRC10:59
*** kevko has joined #openstack-horizon11:23
*** kevko_ has joined #openstack-horizon11:25
*** kevko has quit IRC11:25
*** rcernin has joined #openstack-horizon11:49
*** dave-mccowan has joined #openstack-horizon12:10
*** e0ne has quit IRC12:33
*** e0ne has joined #openstack-horizon12:37
*** ChanServ sets mode: +o e0ne12:37
*** rm_work has quit IRC12:38
*** e0ne has quit IRC12:39
*** mkowalski has quit IRC12:40
*** rm_work has joined #openstack-horizon12:42
*** mkowalski has joined #openstack-horizon12:46
*** rcernin has quit IRC13:32
*** e0ne has joined #openstack-horizon14:00
*** ChanServ sets mode: +o e0ne14:00
*** dave-mccowan has quit IRC14:07
*** dave-mccowan has joined #openstack-horizon14:20
*** e0ne has quit IRC14:22
*** e0ne has joined #openstack-horizon14:23
*** ChanServ sets mode: +o e0ne14:23
*** dave-mccowan has quit IRC14:26
e0neamotoki, vishalmanchanda, rdopiera: FYI, I'll be late at meeting for 10-15 minutes.  feel free to start it without me14:56
vishalmanchandae0ne: ack.14:56
*** KeithMnemonic has joined #openstack-horizon14:59
*** rcernin has joined #openstack-horizon15:25
*** rcernin has quit IRC15:29
*** gyee has joined #openstack-horizon15:48
rdopierathe thing is, we already have a lot of magic in those error handling routines16:00
rdopieraand a lot of responsibility in a signle function16:01
amotokiyeah, it is true...16:03
amotokibut I think adding redundant arg to almost all callers and the size of the magic in that function are different things.16:04
amotokihonestly I don't want to see similar patches in horizon plugins just to add details=str(ex)....16:05
vishalmanchandaamotoki: Do you have some better option?16:06
rdopieraamotoki: how about we make it take the details from the exception if they are not specified, but still allow to specify it explicitly?16:07
rdopieraamotoki: and if it's set to "", then suppress details entirely?16:07
amotokiwhat in my mind is to accept True/False/message string in 'details' and if details is True a detail message can be retrieved from the exception.16:08
amotokiif details is False, a caller does not want to add details.16:08
amotokivery similar to rdopiera's idea16:09
rdopieraI would prefer None/""/"string"16:09
amotokirdopiera's idea sounds better16:09
rdopieraif it's None (default), take it from exception, if it's "", suppress it, if it's other string, use that16:09
amotokiagree16:10
vishalmanchandardopiera: amotoki : ok I will check in code how to implement it.16:12
rdopieravishalmanchanda: do tyou know how to get the current exception?16:12
amotokivishalmanchanda: exceptions.handle() calls sys.exc_info() so I believe we already have the current exception in exc_value.16:13
vishalmanchandardopiera: From sys.exc_info()16:13
vishalmanchandaok guys thanks for suggestion I will check tomorrow how to implement it.16:15
*** e0ne has quit IRC16:15
amotokivishalmanchanda: thanks for working on it16:17
vishalmanchandaamotoki: np.16:17
vishalmanchandaAlso this bp patch https://review.opendev.org/#/c/734161/ is ready for review.16:18
vishalmanchandaIt would be nice if someone take a look.16:19
*** e0ne has joined #openstack-horizon17:20
*** ChanServ sets mode: +o e0ne17:20
*** _erlon_ has joined #openstack-horizon18:02
*** e0ne has quit IRC18:15
*** rdopiera has quit IRC18:35
*** e0ne has joined #openstack-horizon19:17
*** ChanServ sets mode: +o e0ne19:17
*** e0ne has quit IRC19:47
*** kevko_ has quit IRC19:55
*** e0ne has joined #openstack-horizon20:04
*** ChanServ sets mode: +o e0ne20:04
*** e0ne has quit IRC20:12
*** kevko_ has joined #openstack-horizon20:21
*** priteau has quit IRC20:47
*** rdopiera has joined #openstack-horizon21:02
*** rdopiera has quit IRC21:07
*** vishalmanchanda has quit IRC22:01
*** kevko_ has quit IRC22:09
*** rcernin has joined #openstack-horizon22:51
*** rcernin has quit IRC22:58
*** rcernin has joined #openstack-horizon23:01
*** tosky has quit IRC23:03
*** rcernin has quit IRC23:04
*** rcernin has joined #openstack-horizon23:05

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!