Capture args and kwargs sent to tasks when they error.

And send this information to Sentry. This is instead of just logging the
exception.