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({
browser: chromium,
launchOptions: {
const browserId = createRemoteBrowserForRun({
browser: chromium,
launchOptions: {
headless: true,
proxy: proxyOptions.server ? proxyOptions : undefined,
}
});
}
});
const run = await Run.create({
status: 'Scheduled',