Skip to content

Commit

Permalink
Merge 17ac2fd into 867f17b
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jul 3, 2023
2 parents 867f17b + 17ac2fd commit 4eaa041
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/browserless/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ module.exports = ({ timeout: globalTimeout = 30000, ...launchOpts } = {}) => {

const close = opts => {
isClosed = true
return browserProcessPromise.then(browserProcess => driver.close(browserProcess, opts))
return browserProcessPromise
.then(browserProcess => driver.close(browserProcess, opts))
.catch(() => {})
}

const respawn = () =>
Expand Down

0 comments on commit 4eaa041

Please sign in to comment.