deepline 0.1.25 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1061,7 +1061,12 @@ export class PlayDedup implements DurableObject {
1061
1061
  runId: body.runId,
1062
1062
  status: body.status,
1063
1063
  result: body.result,
1064
- error: typeof body.error === 'string' ? body.error : null,
1064
+ error:
1065
+ typeof body.error === 'string' && body.error.trim()
1066
+ ? body.error.trim()
1067
+ : body.status === 'failed'
1068
+ ? 'Cloudflare workflow failed before the runner reported an error.'
1069
+ : null,
1065
1070
  totalRows: body.totalRows,
1066
1071
  durationMs: body.durationMs,
1067
1072
  playName: typeof body.playName === 'string' ? body.playName : null,