BasePasswordHasher _load_library swallows ImportErrors
|Reported by:||Jaap Roes||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The _load_library method on BasePasswordHasher turns ImportErrors into ValueErrors, this masks ImportErrors in the algorithm library. I'm proposing a slightly clearer worded error message.
"Couldn't load foo password algorithm library"
"Couldn't load 'FooHasher' algorithm library: No module named bar"
I'll link to a GitHub pull request after I know the ticket number.