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

NullPointerException on incorrect ID #70

Open
Gaming32 opened this issue Dec 4, 2024 · 0 comments
Open

NullPointerException on incorrect ID #70

Gaming32 opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gaming32
Copy link

Gaming32 commented Dec 4, 2024

Describe the bug

If the specified project ID doesn't exist, the upload fails with an NPE, instead of descriptive error.

Steps to reproduce

  1. Set the project ID to a slug that doesn't exist
  2. Run the modrinth task
  3. Observe Failed to upload file to Modrinth! null
  4. Run with --stacktrace
  5. Observe NPE as cause

Expected behavior

A descriptive error message would be displayed.

Additional context

No response

@Gaming32 Gaming32 added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant