treat errors as exceptions for this module
Merge pull request #1 from davidkey/fix-image-upload-error-/-exception-handling

treat errors as exceptions for this module