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

[REF-2602] if rxconfig.py is not importable reflex fails #3106

Open
masenf opened this issue Apr 17, 2024 · 1 comment
Open

[REF-2602] if rxconfig.py is not importable reflex fails #3106

masenf opened this issue Apr 17, 2024 · 1 comment

Comments

@masenf
Copy link
Collaborator

masenf commented Apr 17, 2024

Try to import a non-existant module in rxconfig.py and it will say

RuntimeError: Cannot get the app module because `app_name` is not set in rxconfig! If this error occurs in a reflex test case, ensure that `get_app` is mocked.

Instead of showing the ImportError. This is basically un-debuggable

From SyncLinear.com | REF-2602

@jod35
Copy link

jod35 commented May 4, 2024

Facing the same issue with Reflex version 0.4.9

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

No branches or pull requests

2 participants