feat: remove try block from browserId
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user