This commit is contained in:
@@ -139,7 +139,7 @@ class DatabasePool:
|
|||||||
""",
|
""",
|
||||||
limit,
|
limit,
|
||||||
)
|
)
|
||||||
logger.exception("Fetched %d packets from DB", len(rows))
|
|
||||||
out: List[Dict[str, Any]] = []
|
out: List[Dict[str, Any]] = []
|
||||||
for r in rows:
|
for r in rows:
|
||||||
d = dict(r)
|
d = dict(r)
|
||||||
@@ -148,4 +148,5 @@ class DatabasePool:
|
|||||||
d["raw_b64"] = base64.b64encode(raw_val).decode("ascii")
|
d["raw_b64"] = base64.b64encode(raw_val).decode("ascii")
|
||||||
d.pop("raw", None)
|
d.pop("raw", None)
|
||||||
out.append(d)
|
out.append(d)
|
||||||
|
logger.exception(d)
|
||||||
return out
|
return out
|
||||||
|
|||||||
Reference in New Issue
Block a user