utils/source-discoverer: Add a debug statement
This debug statement would happen before any interpretation of errors, which is useful in troubleshooting issues related to interpretation. Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/645
This commit is contained in:
@@ -371,6 +371,12 @@ discover_webdav_in_thread (DiscovererData *data,
|
|||||||
|
|
||||||
if (local_error)
|
if (local_error)
|
||||||
{
|
{
|
||||||
|
g_debug ("Encountered an error in %s (from %s), code %d: '%s'\n",
|
||||||
|
G_STRFUNC,
|
||||||
|
g_quark_to_string (local_error->domain),
|
||||||
|
local_error->code,
|
||||||
|
local_error->message);
|
||||||
|
|
||||||
if (local_error->domain == E_SOUP_SESSION_ERROR &&
|
if (local_error->domain == E_SOUP_SESSION_ERROR &&
|
||||||
is_authentication_error (local_error->code))
|
is_authentication_error (local_error->code))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user