[gnome-shell] search: improve log message when metas length mismatch
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] search: improve log message when metas length mismatch
- Date: Wed, 7 Jan 2015 23:26:46 +0000 (UTC)
commit 67a807e849e6c4371c8565564e8852ebfac57f87
Author: Cosimo Cecchi <cosimo endlesm com>
Date: Wed Jan 7 18:15:30 2015 +0800
search: improve log message when metas length mismatch
Log also the name of the provider and the expected/received metas.
js/ui/search.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/search.js b/js/ui/search.js
index d80fe63..4737c82 100644
--- a/js/ui/search.js
+++ b/js/ui/search.js
@@ -204,7 +204,8 @@ const SearchResultsBase = new Lang.Class({
return;
}
if (metas.length != metasNeeded.length) {
- log('Wrong number of result metas returned by search provider');
+ log('Wrong number of result metas returned by search provider ' + this.provider.id +
+ ': expected ' + metasNeeded.length + ' but got ' + metas.length);
callback(false);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]