log express middleware error message