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

refactor(Messages): Improve ColorConvert error #10108

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

Jiralite
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
Improves the error by specifying what was unable to be converted. This may resolve in quicker debugging. Also resolves a possible mutation in resolveColor().

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Copy link

vercel bot commented Jan 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Jan 29, 2024 9:31pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Jan 29, 2024 9:31pm

@Jiralite Jiralite changed the title feat(Messages): Improve ColorConvert error refactor(Messages): Improve ColorConvert error Jan 29, 2024
@Jiralite Jiralite added this to the discord.js 14.15 milestone Jan 29, 2024
Copy link
Member

@SpaceEEC SpaceEEC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like better errors 👍

@kodiakhq kodiakhq bot merged commit fc1f8ae into main Jan 30, 2024
7 checks passed
@kodiakhq kodiakhq bot deleted the feat/improve-error branch January 30, 2024 07:17
IRONM00N added a commit to TanzaniteBot/discord.js that referenced this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants