Use console.error in wrapMethod helper