[librsvg: 6/9] paint_server.rs: Log when there is a nonexistent pattern with no alternate
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 6/9] paint_server.rs: Log when there is a nonexistent pattern with no alternate
- Date: Wed, 24 Oct 2018 18:31:00 +0000 (UTC)
commit 39e94348d223b89d0a00ae0020169bcd26b93263
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Oct 24 11:44:11 2018 -0500
paint_server.rs: Log when there is a nonexistent pattern with no alternate
rsvg_internals/src/paint_server.rs | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/rsvg_internals/src/paint_server.rs b/rsvg_internals/src/paint_server.rs
index 7e8f25a6..83c531d7 100644
--- a/rsvg_internals/src/paint_server.rs
+++ b/rsvg_internals/src/paint_server.rs
@@ -108,6 +108,11 @@ pub fn set_source_paint_server(
current_color,
);
had_paint_server = true;
+ } else {
+ rsvg_log!(
+ "pattern \"{}\" was not found and there was no fallback alternate",
+ iri
+ );
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]