Don't assume console.error exists