commit f60d05e6ff5ba67d3c6068d9d2107c361774eea6
parent 0201bcfd0165c735fd4b7cd0c7ab2f0d4b1519dc
Author: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Date: Sun, 25 Jul 2021 21:23:56 -0700
Add url to log message
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/plugins/litehtml_viewer/container_linux_images.cpp b/src/plugins/litehtml_viewer/container_linux_images.cpp
@@ -40,8 +40,8 @@ static GdkPixbuf *lh_get_image(const litehtml::tchar_t* url)
if (error || !image) {
if (error) {
- g_warning("lh_get_image: Could not create pixbuf %s",
- error->message);
+ g_warning("lh_get_image: Could not create pixbuf for '%s': %s",
+ url, error->message);
g_clear_error(&error);
}
goto theend;
@@ -49,8 +49,8 @@ static GdkPixbuf *lh_get_image(const litehtml::tchar_t* url)
pixbuf = gdk_pixbuf_new_from_stream(image, NULL, &error);
if (error) {
- g_warning("lh_get_image: Could not create pixbuf %s",
- error->message);
+ g_warning("lh_get_image: Could not create pixbuf for '%s': %s",
+ url, error->message);
pixbuf = NULL;
g_clear_error(&error);
}