Daniel Brötzmann pushed to branch gtk4 at gajim / gajim


Commits:
eb30c344 by wurstsalat at 2024-10-27T16:00:08+01:00
cq: VariantMixin: Improve error logging

- - - - -


1 changed file:

- gajim/common/structs.py


Changes:

=====================================
gajim/common/structs.py
=====================================
@@ -269,7 +269,9 @@ def to_variant(self) -> GLib.Variant:
                 continue
 
             if not isinstance(value, field_t):
-                raise ValueError(f'invalid type: {value} is not a {field_t}')
+                raise ValueError(
+                    f'invalid type: {value} type {type(value)} is not a 
{field_t}'
+                )
 
             conversion_func = self._type_to_variant_funcs.get(field_t)
             if conversion_func is not None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/eb30c3443cb2b674b493f1c9170ca33d49a9406a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/eb30c3443cb2b674b493f1c9170ca33d49a9406a
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to