Skip to content

Improve exception handling - replace generic Exception with specific types#3032

Merged
HelioGuilherme66 merged 1 commit intorobotframework:developfrom
chelslava:fix/exception-handling-v2
Apr 11, 2026
Merged

Improve exception handling - replace generic Exception with specific types#3032
HelioGuilherme66 merged 1 commit intorobotframework:developfrom
chelslava:fix/exception-handling-v2

Conversation

@chelslava
Copy link
Copy Markdown

Summary

Replaces generic Exception catches with more specific exception types throughout the codebase.

Changes

  • dataloader.py: Use specific exception types
  • libraryfinder.py: Use specific exception types
  • fileexplorerplugin.py: Use specific exception types
  • notebook.py: Use specific exception types
  • eventhandler.py: Use specific exception types

This improves error handling and makes debugging easier.

@HelioGuilherme66 HelioGuilherme66 added the enhancement Request for improvement: either for an existing feature or a new one label Apr 11, 2026
@HelioGuilherme66 HelioGuilherme66 added this to the v2.3 milestone Apr 11, 2026
@HelioGuilherme66 HelioGuilherme66 merged commit f97d742 into robotframework:develop Apr 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Request for improvement: either for an existing feature or a new one

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants