[librsvg: 7/18] Log parse errors on properties with less noise from QualName



commit bf06b864334c553bccd1c1b80ebadaf1f62cb095
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Dec 6 15:13:33 2019 -0600

    Log parse errors on properties with less noise from QualName
    
    It turns out that ExpandedName has a less noisy impl Debug, so use
    that instead.

 rsvg_internals/src/properties.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/properties.rs b/rsvg_internals/src/properties.rs
index e27186a8..03adb9de 100644
--- a/rsvg_internals/src/properties.rs
+++ b/rsvg_internals/src/properties.rs
@@ -542,7 +542,7 @@ impl SpecifiedValues {
                 rsvg_log!(
                     "(style property error for attribute {:?}\n    value=\"{}\"\n    {}\n    \
                      property will be ignored)",
-                    attr,
+                    attr.expanded(),
                     value,
                     e
                 );


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]