v2: ID verification by state, 15 photos/5 albums, 20 quick replies, logo, mobile polish
This commit is contained in:
@@ -5,7 +5,13 @@ c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
c.connect("10.10.0.10", username="localadministrator", password="Bbt9115xty9176!", timeout=20)
|
||||
_, o, e = c.exec_command(
|
||||
"docker exec coolify-db psql -U coolify -d coolify -t -A -c "
|
||||
"\"SELECT logs FROM application_deployment_queues WHERE id=1086;\""
|
||||
"\"SELECT logs FROM application_deployment_queues WHERE id=1088;\""
|
||||
)
|
||||
print(o.read().decode()[-15000:])
|
||||
text = o.read().decode()
|
||||
# find error lines
|
||||
for needle in ["Type error", "Failed to compile", "ERROR:", "error"]:
|
||||
idx = text.rfind(needle)
|
||||
if idx >= 0:
|
||||
print(text[max(0, idx-500):idx+1500])
|
||||
print("---")
|
||||
c.close()
|
||||
Reference in New Issue
Block a user