File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
meteor/server/api/ingest/mosDevice Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ export namespace MosIntegration {
163
163
164
164
const rundownExternalId = parseMosString ( Action . RunningOrderID )
165
165
166
- logger . info ( `mosRoStoryInsert after "${ Action . StoryID } " Stories: ${ Stories . map ( ( s ) => s . ID ) } ` )
166
+ logger . info ( `mosRoStoryInsert before "${ Action . StoryID } " Stories: ${ Stories . map ( ( s ) => s . ID ) } ` )
167
167
logger . debug ( Action , Stories )
168
168
169
169
await runIngestOperation ( studioId , IngestJobs . MosInsertStory , {
Original file line number Diff line number Diff line change @@ -54,7 +54,12 @@ export async function parseBlueprintDocument(
54
54
let manifest : SomeBlueprintManifest
55
55
try {
56
56
const blueprintPath = `db:///blueprint/${ blueprint . name || blueprint . _id } -bundle.js`
57
- const context = vm . createContext ( { } , { } )
57
+ const context = vm . createContext (
58
+ {
59
+ fetch,
60
+ } ,
61
+ { }
62
+ )
58
63
const script = new vm . Script (
59
64
`__run_result = ${ blueprint . code }
60
65
__run_result || blueprint` ,
Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ export function deNowifyMultiGatewayTimeline(
59
59
60
60
// Because updatePlannedTimingsForPieceInstances changes start times of infinites, we can now run deNowifyInfinites()
61
61
deNowifyInfinites ( targetNowTime , objectsNotDeNowified , timelineObjsMap )
62
+
63
+ for ( const obj of timelineObjs ) {
64
+ if ( ! Array . isArray ( obj . enable ) && obj . enable . start === 'now' ) {
65
+ logger . error ( `deNowifyMultiGatewayTimeline: "${ obj . id } " still set to 'now'` )
66
+ }
67
+ }
62
68
}
63
69
64
70
/**
You can’t perform that action at this time.
0 commit comments