callBrowser() do not throw exception while exitCode is 1 #755
MallauryGerard
started this conversation in
Bugs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Here is my code :
It did not work cause the saving path is relative and it should be absolute.
BUT no exception was throwed... Because the exitCode of the process is "1" and you only throw an exception when the exitCode is "2" or "3"...
I had to manually add :
var_dump($process->getErrorOutput());
In the callBrowser method of Browsershot class to debug it. It would be a good thing to add a verbose exception in this case.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions