mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: removed console logs and error handling
This commit is contained in:
@@ -701,11 +701,8 @@ export const settingsRouter = createTRPCRouter({
|
||||
}
|
||||
|
||||
try {
|
||||
const status = await checkGPUStatus(input.serverId || "");
|
||||
console.log("GPU Status Check Result:", status);
|
||||
return status;
|
||||
return await checkGPUStatus(input.serverId || "");
|
||||
} catch (error) {
|
||||
console.error("GPU Status Check Error:", error);
|
||||
throw new Error("Failed to check GPU status");
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user