MCPcopy Create free account
hub / github.com/cloudconvert/cloudconvert-cli / printFailedTaskMessages

Function printFailedTaskMessages

src/job.ts:419–425  ·  view source on GitHub ↗
(tasks: JobTask[], logger: Logger)

Source from the content-addressed store, hash-verified

417}
418
419function printFailedTaskMessages(tasks: JobTask[], logger: Logger): void {
420 for (const task of tasks.filter(task => task.status === 'error' || task.status === 'failed')) {
421 logger.error(
422 `Task \`${task.name}\` failed: ${task.message ?? ''} (Code: ${task.code ?? 'UNKNOWN_ERROR'})`
423 );
424 }
425}
426
427function closeCloudConvertSocket(cloudconvert: CloudConvertClient): void {
428 if (cloudconvert.closeSocket) {

Callers 1

failJobFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected