hide error

This commit is contained in:
MCHost
2025-06-16 13:57:23 -04:00
parent f655fbe037
commit 176f15501b
2 changed files with 9 additions and 2 deletions

View File

@ -42,7 +42,7 @@ function startDockerStatsInterval(ws, client, user, docker) {
const container = docker.getContainer(user);
const inspect = await container.inspect();
if (inspect.State.Status !== 'running') {
console.log(`Container ${user} not running, sending error`);
// console.log(`Container ${user} not running, sending error`);
ws.send(JSON.stringify({ type: 'docker', error: `Container ${user} is not running` }));
return;
}

View File

@ -12,13 +12,20 @@
"dependencies": {
"@tailwindcss/cli": "^4.1.8",
"@tailwindcss/postcss": "^4.1.8",
"axios": "^1.10.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dockerode": "^4.0.2",
"dotenv": "^16.5.0",
"express": "^4.21.0",
"envalid": "^8.0.0",
"express": "^4.21.2",
"helmet": "^8.1.0",
"node-fetch": "^2.7.0",
"sanitize-html": "^2.17.0",
"ssh2-sftp-client": "^12.0.0",
"unirest": "^0.6.0",
"validator": "^13.15.15",
"winston": "^3.17.0",
"ws": "^8.18.2"
},
"devDependencies": {