Add error flash message to publisher on error from server