These are mostly cosmetic changes that in my very personal opinion help a lot with readability and debugging.
Putting the dunders in a list and setting it dynamically also allows us to keep track of which dunder exactly triggered error_func, something the VSCode's debugger really struggles with when the dunders are set directly.
These are mostly cosmetic changes that in my very personal opinion help a lot with readability and debugging.
Putting the dunders in a list and setting it dynamically also allows us to keep track of which dunder exactly triggered
error_func
, something the VSCode's debugger really struggles with when the dunders are set directly.The log message will be improved with the
trigger
value as soon as https://github.com/ManderaGeneral/generalimport/pull/19 goes through.I added a unit test. All other tests are passing.