do not fail completely on failure to generate map thumbnail

dev-reedit-form
Hartmut Holzgraefe 2019-08-22 10:43:35 +02:00
rodzic d6054e83b8
commit 81dfc610cf
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -578,8 +578,11 @@ class JobRenderer(threading.Thread):
output_formats, prefix)
# Create thumbnail
self._gen_thumbnail(prefix, config.paper_width_mm,
config.paper_height_mm)
try:
self._gen_thumbnail(prefix, config.paper_width_mm,
config.paper_height_mm)
except:
pass
self.result = RESULT_SUCCESS
LOG.info("Finished rendering of job #%d." % self.job.id)