Parsing error handling and MAC retrieval on new snapshots #27

Merged
pedro merged 12 commits from pr_25 into main 2024-11-12 13:57:05 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit eb81b65e5b - Show all commits

View File

@ -71,8 +71,6 @@ class Command(BaseCommand):
self.devices.append(Build(s, self.user)) self.devices.append(Build(s, self.user))
move_json(p, self.user.institution.name) move_json(p, self.user.institution.name)
except Exception as err: except Exception as err:
if settings.DEBUG:
logger.exception("%s", err)
snapshot_id = s.get("uuid", "") snapshot_id = s.get("uuid", "")
txt = "It is not possible to parse snapshot: %s" txt = "Could not parse snapshot: %s"
logger.error(txt, snapshot_id) logger.error(txt, snapshot_id)