Commit 20501746 authored by Aeneas's avatar Aeneas Committed by Dan Abramov
Browse files

openBrowser() causes docker-compose set ups to fail because of spawn EACCESS (#711)

* openBrowser() causes docker-compose set ups to fail because of spawn EACCESS - closes #710



Signed-off-by: default avatarAeneas Rekkas (arekkas) <aeneas@ory.am>

* Ignore errors
parent 0e611e23
No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
......@@ -170,7 +170,11 @@ function openBrowser(port, protocol) {
}
// Fallback to opn
// (It will always open new tab)
opn(protocol + '://localhost:' + port + '/');
try {
opn(protocol + '://localhost:' + port + '/');
} catch (err) {
// Ignore errors.
}
}
// We need to provide a custom onError function for httpProxyMiddleware.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment