register_sentry breaks failed queue when func cannot be imported
Fixes an issue where register_sentry breaks when logging jobs with
unimportable function.
Merge pull request #238 from selwin/logging-import-errors

register_sentry fixes