talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit b5f8770f7c9262f0c3519ae7b2a9bd13d777a1ce
parent 038b8092f1f664e2929664cb3809d29fb8ca471c
Author: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Date:   Sun, 25 Jul 2021 21:23:56 -0700

Add url to log message

Diffstat:
Msrc/plugins/litehtml_viewer/container_linux_images.cpp | 8++++----
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); }