Skip to content

fix: gracefully handle module scanning failures in _scan_awel_flow (closes #2280)#3099

Open
botbikamordehai2-sketch wants to merge 1 commit into
eosphoros-ai:mainfrom
botbikamordehai2-sketch:fix/issue-2280-1780924629
Open

fix: gracefully handle module scanning failures in _scan_awel_flow (closes #2280)#3099
botbikamordehai2-sketch wants to merge 1 commit into
eosphoros-ai:mainfrom
botbikamordehai2-sketch:fix/issue-2280-1780924629

Conversation

@botbikamordehai2-sketch

Copy link
Copy Markdown

What

When scanning modules for AWEL flow operators/resources, a failure in one module (e.g., missing database tables, import errors) crashes the entire process. This was reported in #2280 where a missing gpts_app_collection table caused a crash.

Fix

Wrap the scanning loop in a try-except to catch and log exceptions, then continue scanning remaining modules. This prevents a single module failure from blocking the whole startup.

Closes #2280

@github-actions github-actions Bot added the fix Bug fixes label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [Module Name] Bug title

1 participant