Output any errors to the logs