Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: color.toLowerCase is not a function #10128

Closed
sentry-io bot opened this issue Apr 29, 2024 · 0 comments · Fixed by #10129
Closed

TypeError: color.toLowerCase is not a function #10128

sentry-io bot opened this issue Apr 29, 2024 · 0 comments · Fixed by #10129

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 29, 2024

Sentry Issue: SHIELDS-GT

TypeError: color.toLowerCase is not a function
  File "/usr/src/app/badge-maker/lib/color.js", line 52, in normalizeColor
    return `#${color.toLowerCase()}`
  File "/usr/src/app/badge-maker/lib/color.js", line 61, in toSvgColor
    const normalized = normalizeColor(color)
  File "/usr/src/app/lib/logos.js", line 104, in getSimpleIcon
    const svgColor = toSvgColor(color)
  File "/usr/src/app/lib/logos.js", line 139, in prepareNamedLogo
    getSimpleIcon({ name, color, style, size })
  File "/usr/src/app/core/base-service/coalesce-badge.js", line 168, in coalesceBadge
    logoSvgBase64 = prepareNamedLogo({
...
(2 additional frame(s) were not displayed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants