You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #14 from cristofima/dev - refactor: enhance security and improve error handling in training and frontend components
- Replace wildcard CORS origins (*) with specific allowed origins based on Amplify domain and environment
- Improve error handling by replacing bare exception catches with specific exception types and logging
- Add guards against empty datasets and NaN values in training preprocessing
error_message="CORS allowed_origins cannot be empty. Either enable Amplify (set github_repository and github_token), use dev environment, or set cors_allowed_origins manually."
error_message="CORS allowed_origins cannot be empty. Either enable Amplify (set github_repository and github_token), use dev environment, or set cors_allowed_origins manually."
error_message="CORS allowed_origins cannot be empty. Either enable Amplify (set github_repository and github_token), use dev environment, or set cors_allowed_origins manually."
0 commit comments