Added flushBuffer exception prefix before exception message in flushBuffer().