File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
apps/sim/app/api/schedules/execute Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,9 @@ export async function GET(request: NextRequest) {
8080
8181 if ( ! workflowRecord ?. userId || ! workflowRecord . workspaceId ) {
8282 logger . warn (
83- `[${ requestId } ] Missing workflow metadata for preflight. Skipping Trigger.dev enqueue .` ,
83+ `[${ requestId } ] Missing workflow metadata for preflight. Skipping execution .` ,
8484 { workflowId : schedule . workflowId }
8585 )
86- await executeScheduleJob ( { ...payload , preflighted : false } )
8786 return null
8887 }
8988
@@ -96,11 +95,10 @@ export async function GET(request: NextRequest) {
9695 useDraftState : false ,
9796 } )
9897 } catch ( error ) {
99- logger . warn (
100- `[${ requestId } ] Env preflight failed. Skipping Trigger.dev enqueue for workflow ${ schedule . workflowId } ` ,
98+ logger . error (
99+ `[${ requestId } ] Env preflight failed for workflow ${ schedule . workflowId } . Skipping execution. ` ,
101100 { error : error instanceof Error ? error . message : String ( error ) }
102101 )
103- await executeScheduleJob ( { ...payload , preflighted : false } )
104102 return null
105103 }
106104
You can’t perform that action at this time.
0 commit comments