If Sentry API key is provided in .env then we will log error in both frontend and backend with Sentry. Otherwise, we will log backend error in log file.
If Sentry API key is provided in .env then we will log error in both frontend and backend with Sentry.
Otherwise, we will log backend error in log file.