mirror of
https://github.com/pdxlocations/contact.git
synced 2026-10-31 00:01:57 +01:00
Update db_handler.py
This commit is contained in:
1 parent
2d4b407caa
commit
cd0b114f13
1 file changed
+2
-2
@@ -380,8 +380,8 @@ def is_chat_archived(user_id: int) -> int:
|
||||
|
||||
except sqlite3.Error as e:
|
||||
logging.error(f"SQLite error in is_chat_archived: {e}")
|
||||
return "0"
|
||||
return "Unknown"
|
||||
|
||||
except Exception as e:
|
||||
logging.error(f"Unexpected error in is_chat_archived: {e}")
|
||||
return "0"
|
||||
return "Unknown"
|
||||
Reference in new issue
Block a user