passing the "why" argument to log.err is hard and crappy
|Reported by:||radix||Owned by:|
try: 1/0 except: log.err(None, "foo")
trying to pass why= directly causes the following error:
msg(failure=_stuff, why=_why, isError=1, **kw) TypeError: msg() got multiple values for keyword argument 'why'
Which is dumb. Either _why= should be renamed to why= or the special passing of why=_why should only happen if _why is not None.
Fixing this ticket should also entail fixing #2567
Change History (4)
comment:1 Changed 7 years ago by radix
- Owner changed from glyph to radix
- Status changed from new to assigned
comment:3 Changed 5 years ago by exarkun
- Resolution set to wontfix
- Status changed from assigned to closed