Exceptions thrown by library are not correctly initialized and therefore are not informative enough

Makes this really bad when running tasks in celery, for example.