Log error when failing to append data