From de39880fa698327019617a6c454942d3bee1cf29 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 29 Jul 2015 10:06:23 +0200 Subject: [PATCH] Be less vocal about image parsing failures. This should help fix some intermittent failures where this error message was printed intertwined with the test results, causing wptrunner to not notice the results. --- components/net_traits/image/base.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/net_traits/image/base.rs b/components/net_traits/image/base.rs index fa776b85c4b..7e0a2348b24 100644 --- a/components/net_traits/image/base.rs +++ b/components/net_traits/image/base.rs @@ -101,11 +101,11 @@ pub fn load_from_memory(buffer: &[u8]) -> Option { }) } stb_image2::LoadResult::ImageF32(_image) => { - error!("HDR images not implemented"); + debug!("HDR images not implemented"); None } stb_image2::LoadResult::Error(e) => { - error!("stb_image failed: {}", e); + debug!("stb_image failed: {}", e); None } }