We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9323d commit 5e77d17Copy full SHA for 5e77d17
1 file changed
reflex/app.py
@@ -1669,7 +1669,10 @@ def _validate_exception_handlers(self):
1669
raise ValueError(msg)
1670
1671
# Check if the return type is valid for backend exception handler
1672
- if handler_domain == "backend":
+ if (
1673
+ handler_domain == "backend"
1674
+ and self.backend_exception_handler is not None
1675
+ ):
1676
sig = inspect.signature(self.backend_exception_handler)
1677
return_type = (
1678
eval(sig.return_annotation)
0 commit comments