diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index b46dcc2a71..e672ec9a49 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -27,7 +27,7 @@ import type { IExecutionsSummary, IN8nUISettings, } from 'n8n-workflow'; -import { ApplicationError, jsonParse } from 'n8n-workflow'; +import { jsonParse } from 'n8n-workflow'; // @ts-ignore import timezones from 'google-timezones-json'; @@ -681,8 +681,8 @@ export class Server extends AbstractServer { const job = currentJobs.find((job) => job.data.executionId === req.params.id); if (!job) { - throw new ApplicationError('Could not stop job because it is no longer in queue.', { - extra: { jobId: req.params.id }, + this.logger.debug('Could not stop job because it is no longer in queue', { + jobId: req.params.id, }); } else { await queue.stopJob(job);