Better error handling when screenshots not generated