Ajith Raj

Results issues of Ajith Raj

metadata.py has two problems: Uses broad except Exception instead of sqlite3.Error Uses print() instead of logging for error reporting db_create_metadata_table has no exception handling at all I'd like to fix...

### What happened? In `backend/app/routes/images.py`, the `/toggle-favourite` endpoint fetches **all images** from the database just to retrieve the updated favourite status of a single image: ```python image = next( (img...

`db_update_face_cluster_ids_batch` in `faces.py` has two problems: - Uses broad `except Exception` instead of `sqlite3.Error` - Uses `print("Error updating face cluster IDs in batch.")` instead of proper logging ### Proposed fix...

What happened? Date-only memories are created with `center_lat = 0` and `center_lon = 0` in the backend, but the frontend checks `center_lat == null || center_lon == null` to determine...

`face_clusters.py` has multiple problems: - `db_delete_all_clusters` uses broad `except Exception` and `print()` instead of logging - `db_insert_clusters_batch` catches no exceptions at all - 5 other functions have no exception handling...