Commit 07f366e0 authored by TheTechRobo's avatar TheTechRobo
Browse files

Fix potential information leakage

parent f6f192f7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -83,6 +83,10 @@ class Service(JSONDataclass):
            return res
        except Exception as ename: # pylint: disable=broad-except
            note = f"An error occured while retrieving data from {cls.getName()}."
            if "aiohttp" in str(type(ename)):
                # Ugly temporary hack
                rawraw = f"{type(ename)}"
            else:
                rawraw = f"{type(ename)}: {repr(ename)}"
            return cls(
                    archived=False, capcount=0, error=rawraw,