toast: use console.error as a fallback