File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
application/src/cron_jobs Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ impl<RT: Runtime> CronJobContext<RT> {
806806 mutation_retry_count. is_none( ) ,
807807 "Actions should not have mutation_retry_count set"
808808 ) ;
809- let mut err = anyhow:: anyhow!( ErrorMetadata :: bad_request(
809+ let err = anyhow:: anyhow!( ErrorMetadata :: bad_request(
810810 "SkippingPastScheduledRuns" ,
811811 format!(
812812 "Skipping {num_skipped} run(s) of job {job_id} because multiple \
@@ -828,7 +828,7 @@ impl<RT: Runtime> CronJobContext<RT> {
828828 context,
829829 )
830830 . await ?;
831- report_error ( & mut err) . await ;
831+ tracing :: error! ( "{ err:#}" ) ;
832832 } ,
833833 UdfType :: Query | UdfType :: HttpAction => {
834834 anyhow:: bail!( "Executing unexpected function type as a cron" )
Original file line number Diff line number Diff line change @@ -491,6 +491,7 @@ impl ErrorMetadata {
491491
492492 match self . code {
493493 ErrorCode :: ClientDisconnect => None ,
494+ ErrorCode :: BadRequest if self . short_msg == "BackendIsNotRunning" => None ,
494495 ErrorCode :: BadRequest
495496 | ErrorCode :: Conflict
496497 | ErrorCode :: NotFound
You can’t perform that action at this time.
0 commit comments