Do not log MiddlewareError as error or it will be in the console

Ticket:	#3544