Skip to content

Commit 0859a1d

Browse files
committed
Add img logging
1 parent c857233 commit 0859a1d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • genkit-angular-story-generator/src

genkit-angular-story-generator/src/flows.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ const imgBlobFlow = ai.defineFlow(
267267
output: { format: 'media' },
268268
});
269269
return response.message!.content[0].media!.url;
270-
} catch {
270+
} catch(e) {
271+
console.log(e);
271272
return '';
272273
}
273274
}

0 commit comments

Comments
 (0)