search: improve log message when metas length mismatch
Log also the name of the provider and the expected/received metas.
This commit is contained in:
parent
cea946e745
commit
67a807e849
@ -204,7 +204,8 @@ const SearchResultsBase = new Lang.Class({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (metas.length != metasNeeded.length) {
|
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);
|
callback(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user