feat: remove try block from browserId

This commit is contained in:
karishmas6
2024-10-13 04:53:15 +05:30
parent d2a9927e5b
commit 16b7ff9c84

View File

@@ -41,14 +41,13 @@ async function createWorkflowAndStoreMetadata(id: string, userId: string) {
}; };
} }
try { const browserId = createRemoteBrowserForRun({
const browserId = createRemoteBrowserForRun({ browser: chromium,
browser: chromium, launchOptions: {
launchOptions: {
headless: true, headless: true,
proxy: proxyOptions.server ? proxyOptions : undefined, proxy: proxyOptions.server ? proxyOptions : undefined,
} }
}); });
const run = await Run.create({ const run = await Run.create({
status: 'Scheduled', status: 'Scheduled',