[librsvg/librsvg-2.48] Log when an element is set in error
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.48] Log when an element is set in error
- Date: Sat, 15 Feb 2020 03:01:36 +0000 (UTC)
commit 4d94efafc4bea4202a186d383b7155b4bc729bef
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Feb 13 11:20:41 2020 -0600
Log when an element is set in error
rsvg_internals/src/node.rs | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/rsvg_internals/src/node.rs b/rsvg_internals/src/node.rs
index 67bee167..e5bb0d6f 100644
--- a/rsvg_internals/src/node.rs
+++ b/rsvg_internals/src/node.rs
@@ -250,6 +250,7 @@ impl NodeData {
}
fn set_error(&mut self, error: NodeError) {
+ rsvg_log!("setting node {} in error: {}", self, error);
self.result = Err(error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]