diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-08-31 14:33:13 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-08-31 14:59:53 +0200 |
commit | 4fcca2e3e20d508c3b1302914ec1f098e3e7ee30 (patch) | |
tree | 57d5b907a0ddb804c00070062e2a187e533603bf | |
parent | de7495d6bcf5dad806f58ad0d068973d14ff95f9 (diff) | |
download | nautilus-4fcca2e3e20d508c3b1302914ec1f098e3e7ee30.tar.gz |
batch-rename-utilities: print warnings if query goes wrong
https://bugzilla.gnome.org/show_bug.cgi?id=770586
-rw-r--r-- | src/nautilus-batch-rename-utilities.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-batch-rename-utilities.c b/src/nautilus-batch-rename-utilities.c index ca93e9b52..7b4196c53 100644 --- a/src/nautilus-batch-rename-utilities.c +++ b/src/nautilus-batch-rename-utilities.c @@ -745,6 +745,8 @@ on_cursor_callback (GObject *object, success = tracker_sparql_cursor_next_finish (cursor, result, &error); if (!success) { + g_warning ("Error on batch rename tracker query cursor: %s", error->message); + g_clear_error (&error); g_clear_object (&cursor); @@ -1129,6 +1131,7 @@ check_metadata_for_selection (NautilusBatchRenameDialog *dialog, connection = tracker_sparql_connection_get (NULL, &error); if (!connection) { + g_warning ("Error on batch rename tracker connection: %s", error->message); g_error_free (error); return; |