diff --git a/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx b/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx index 7da3a29e8..184b540af 100644 --- a/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx +++ b/apps/dokploy/components/dashboard/application/schedules/show-schedules.tsx @@ -139,9 +139,7 @@ export const ShowSchedules = ({ applicationId }: Props) => { .catch((error) => { console.log(error); toast.error( - error instanceof Error - ? error.message - : "Error running schedule", + `Error running schedule: ${error}`, ); }); }} diff --git a/apps/dokploy/server/api/routers/schedule.ts b/apps/dokploy/server/api/routers/schedule.ts index cdf3b90eb..b455006d1 100644 --- a/apps/dokploy/server/api/routers/schedule.ts +++ b/apps/dokploy/server/api/routers/schedule.ts @@ -99,7 +99,6 @@ export const scheduleRouter = createTRPCRouter({ await runCommand(input.scheduleId); return true; } catch (error) { - console.log(error); throw new TRPCError({ code: "INTERNAL_SERVER_ERROR", message: