zulip/zerver
jitendra-ky ca14366e38 import: Replace generic Exception with CommandError.
This change improves error handling in `do_import_realm` by replacing
the use of a generic Exception with CommandError. The updated approach
provides clearer, user-friendly error messages when there is a version
mismatch between the exported data and the Zulip server.

Fixes #32292.
2024-11-18 18:35:14 -08:00
..
actions streams: Optimize code for computing stream objects. 2024-11-18 11:55:19 -08:00
data_import data_import: Add migration status file to converted exports. 2024-11-08 15:52:45 -08:00
integration_fixtures/nagios
lib import: Replace generic Exception with CommandError. 2024-11-18 18:35:14 -08:00
management makemessages: Write with orjson. 2024-11-13 17:40:51 -08:00
migrations realm_export: Change tarball_size_bytes to PositiveBigIntegerField. 2024-11-14 10:09:03 -08:00
models streams: Backend changes to support anonymous groups. 2024-11-16 17:11:08 -08:00
openapi streams: Backend changes to support anonymous groups. 2024-11-16 17:11:08 -08:00
tests import: Replace generic Exception with CommandError. 2024-11-18 18:35:14 -08:00
tornado subscription: Include archived channels in streams list. 2024-10-25 16:06:40 -07:00
transaction_tests compose_views: Add `savepoint=False` to avoid creating savepoints. 2024-11-05 17:58:47 -08:00
views streams: Optmize code to send events on creating stream. 2024-11-18 11:55:19 -08:00
webhooks integrations: Avoid UUIDs in topics for linear. 2024-11-15 11:06:39 -08:00
worker transaction: Add `durable=True` to the outermost db transactions. 2024-11-05 17:58:47 -08:00
__init__.py
apps.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
decorator.py upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py auth: Tweak invalid credentials error message. 2024-10-24 14:35:31 -07:00
logging_handlers.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00