Flare: change the error logger calls to warnings