twill icon indicating copy to clipboard operation
twill copied to clipboard

Rethink the way the error handler works

Open Tofandel opened this issue 1 year ago • 1 comments

Fixes #2607

We can use the user provided handler and simply add render cases via methods, so we don't need to provide our own exception handler, which will alleviate the need for more configuration/setup when installing twill

I also optimized the provider to have all the config in one place and not have it run if the config is already cached

Tofandel avatar Jun 13 '24 11:06 Tofandel

This is great @Tofandel thank you. The custom exception handler has definitely been a source of issues and this approach is so much better.

ifox avatar Jun 13 '24 21:06 ifox