Change error message, log an error as well