fixes #3016
Merge pull request #3023 from dotCMS/issue-3016-better-error-on-import-failure

fixes #3016