feat(platform): log guild.search setSearch mesh-on at debug
Records scope and query length when includeMesh is toggled on. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1229,6 +1229,13 @@ class PearcordPlatform extends EventEmitter {
|
|||||||
includeMesh: false
|
includeMesh: false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if (includeMesh !== undefined && nextMesh) {
|
||||||
|
this.log.debug('guild.search setSearch mesh-on', {
|
||||||
|
scope: nextScope,
|
||||||
|
queryLen: nextQuery.length,
|
||||||
|
includeMesh: true
|
||||||
|
})
|
||||||
|
}
|
||||||
this._invalidateSearchCache()
|
this._invalidateSearchCache()
|
||||||
if (this._searchQuery.length >= 2) {
|
if (this._searchQuery.length >= 2) {
|
||||||
void this._recordSearchRecent(this._searchQuery).catch(() => {})
|
void this._recordSearchRecent(this._searchQuery).catch(() => {})
|
||||||
|
|||||||
Reference in New Issue
Block a user