Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ col = db["users"]
|
|
16 |
try:
|
17 |
client.admin.command('ping')
|
18 |
print("Connection Established Successfully!")
|
19 |
-
|
20 |
-
print("Not Connected")
|
21 |
|
22 |
|
23 |
def Signup():
|
|
|
16 |
try:
|
17 |
client.admin.command('ping')
|
18 |
print("Connection Established Successfully!")
|
19 |
+
except Exception as e:
|
20 |
+
print(f"Not Connected: {e}")
|
21 |
|
22 |
|
23 |
def Signup():
|