If Tesseract is called with a non-existing image file, it creates an empty output file.
I'd expect that no output is created in that case.
Examples:
# Empty output.txt is created.
tesseract nonexisting_image.tiff output
# Empty output.hocr is created.
tesseract nonexisting_image.tiff output hocr