Skip to content

Handle unsupported IDE import gracefully #1575

@jan-vcapgemini

Description

@jan-vcapgemini

Feature idea

Suggestion of change for better usability.

Currently a stacktrace is logged if an import has been configure for an IDE which is not supporting this (yet).
I feel the stack trace is raising eyebrows and let people ask for fixing this error. Thus, my suggestion to change this into a more proper log entry.

Background

When a user configures import=intellij in repository properties during installation, IDEasy previously showed an UnsupportedOperationException stack trace because IntelliJ doesn't support automatic import yet. This confused users into thinking there was a bug.

With this change, users see a clear warning message: "Repository import is not supported for IDE intellij. Skipping automatic import of repository {name}." and the step completes successfully.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions