Updated logging in push_rows exception handler to use logging.exception
        so that the full stack trace is returned.