search: don't throw an error if the search results message is removed before the reactions are removed
This commit is contained in:
parent
5a0f8badca
commit
bec583f96a
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
});
|
||||
|
||||
clearReactionsFn = async () => {
|
||||
searchMsg.removeReactions();
|
||||
searchMsg.removeReactions().catch(noop);
|
||||
removeListenerFn();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue