log error in streamError instead of creating new one