Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

include colormap id with error message

Jason Kentad03fc9ae5da
diff --git a/tasks/python3/processColormap.py b/tasks/python3/processColormap.py
index 4c6341f1d..9a2c8be0d 100755
--- a/tasks/python3/processColormap.py
+++ b/tasks/python3/processColormap.py
@@ -192,7 +192,7 @@ with ProcessPoolExecutor() as writeExecutor:
(id, xml) = future.result()
writeExecutor.submit(process_file, id, xml)
except Exception as e:
- sys.stderr.write("%s: ERROR: %s\n" % (prog, str(e)))
+ sys.stderr.write("%s: ERROR: [%s] %s\n" % (prog, id, str(e)))
error_count += 1
print("%s: %d error(s), %d file(s)" % (prog, error_count, file_count))