Consider using type.__name__
instead of str(type)
in marshal_exception()
#379
Labels
type: enhancement
New feature or request
Milestone
Consider using
type.__name__
instead ofstr(type)
inmarshal_exception()
for better use of that string.In my opinion,
'ZeroDivisionError'
is more useful than"<class 'ZeroDivisionError'>"
.https://github.com/enthought/traits-futures/blob/main/traits_futures/exception_handling.py#L22
traits-futures/traits_futures/exception_handling.py
Lines 17 to 25 in 839a775
The text was updated successfully, but these errors were encountered: