Skip to content

Improve error messages and validation across multiple plugins. - #1671

Merged
Frisch12 merged 1 commit into
mainfrom
fix/improve-error-handling
Feb 13, 2026
Merged

Frisch12 merged 1 commit into
mainfrom
fix/improve-error-handling

Conversation

@Frisch12

Copy link
Copy Markdown
Member

Enhanced error handling for better user experience:

  1. ValidateMavenPom: Collect and report all missing elements in exception

    • Changed from empty GradleException() to detailed message listing all missing required elements
    • Helps users quickly identify and fix POM validation issues
  2. PlantumlTask: Add default fileFormat convention

    • Set default to "png" to prevent null value errors
    • Improves out-of-box experience
  3. OkHttpRequestTask: Comprehensive HTTP error messages

    • Include URL, status code, message, and response body in errors
    • Show supported credential types when unsupported type is provided
    • Makes debugging HTTP and authentication issues much easier

Enhanced error handling for better user experience:

1. ValidateMavenPom: Collect and report all missing elements in exception
   - Changed from empty GradleException() to detailed message listing all
     missing required elements
   - Helps users quickly identify and fix POM validation issues

2. PlantumlTask: Add default fileFormat convention
   - Set default to "png" to prevent null value errors
   - Improves out-of-box experience

3. OkHttpRequestTask: Comprehensive HTTP error messages
   - Include URL, status code, message, and response body in errors
   - Show supported credential types when unsupported type is provided
   - Makes debugging HTTP and authentication issues much easier
@Frisch12
Frisch12 requested a review from larsgrefer February 12, 2026 18:15
@Frisch12
Frisch12 merged commit ed92622 into main Feb 13, 2026
13 checks passed
@Frisch12
Frisch12 deleted the fix/improve-error-handling branch February 13, 2026 10:12
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 this pull request may close these issues.

2 participants