Commit fc3c03fc authored by Cosimo Cecchi's avatar Cosimo Cecchi

search: print a warning when a provider errors out on a query

parent ce00addf
......@@ -150,5 +150,7 @@ nautilus_search_provider_error (NautilusSearchProvider *provider, const char *er
{
g_return_if_fail (NAUTILUS_IS_SEARCH_PROVIDER (provider));
g_warning ("Provider %s failed with error %s\n",
G_OBJECT_TYPE_NAME (provider), error_message);
g_signal_emit (provider, signals[ERROR], 0, error_message);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment