Refactor logging in celery router

Make sure celery knows the task failed by re-raising the exception.