beaker-sync-tasks: use .exception() for logging

In exception handlers, use .exception() for logging so that
we also get the exception info.