diff --git a/service.py b/service.py index 1297c11..434decb 100644 --- a/service.py +++ b/service.py @@ -218,8 +218,8 @@ class MongoDriver(MeshArgsParse): v["device_uuid"] = from_radio["device_uuid"] try: await self.dbStore[k].insert_one(v) - except: - logger.error("Cannot save packet to db", v) + except Exception as e: + logger.error("Cannot save packet to db", str(e), v) def tryParseProtobuf(self, v): try: