More reported details in case of error
Merge pull request #1 from krittiq/error-details

More reported details in case of error