diff options
Diffstat (limited to 'backend/data')
| -rwxr-xr-x | backend/data/genImgsForWeb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/data/genImgsForWeb.py b/backend/data/genImgsForWeb.py index de8ce1b..aa485bb 100755 --- a/backend/data/genImgsForWeb.py +++ b/backend/data/genImgsForWeb.py @@ -78,6 +78,9 @@ with open(imgListFile) as file: if completedProcess.returncode < 0: print("Exiting due to interrupted subprocess") break + elif completedProcess.returncode > 0: + print(f"Exiting due to subprocess exit status {completedProcess.returncode}") + break convertedImage = True # Add entry to db fromEol = imgPath.startswith("eol/") |
