Report error on buffer flush.