Better logging
handling stream:error