update logging

next
dvruette 2024-03-21 21:15:53 +01:00
parent 6ddb67dbb7
commit 6ac5a7067c
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ def _maybe_load_json(d, key, default=None):
return json.loads(d.get(key))
except Exception as e:
traceback.print_exc()
print(f"Failed to load JSON: {d.get(key)}")
print(f"[FABRIC] Failed to load JSON: {d.get(key)}")
return default
# helper functions for loading saved params
@ -27,7 +27,7 @@ def parse_feedback_info(d, store: ImageStore):
infos = [create_image_info(**info) for info in infos]
except Exception as e:
traceback.print_exc()
print(f"Failed to parse image infos: {infos}")
print(f"[FABRIC] Failed to parse image infos: {infos}")
return None
elif "fabric_pos_images" in d or "fabric_neg_images" in d:
# <0.7.0 (old format)