utils: fix call to logerror