pass the exception to the logger, as the cause contains the details about the model error
Merge pull request #18 from laurentvdl/master

Exception reference when deploying models