GoogleChromeLabs / carlo

Web rendering surface for Node applications
Apache License 2.0
9.32k stars 309 forks source link

Exit the process directly when failed to found `chrome`? #164

Open zhengxiaoyao0716 opened 4 years ago

zhengxiaoyao0716 commented 4 years ago

As this line of code, carlo now would exit the process when failed to find the chrome.

Why carlo make this decision? I packed my app into a single executable used pkg, but since this behavour, user could only see the app launch failed and exit immediately, should we just throw an error instead of exit the process to allow the developer do something for this case?