mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-11-03 23:12:56 +00:00 
			
		
		
		
	Log suppressed autocomplete exceptions
This commit is contained in:
		@@ -1240,7 +1240,7 @@ class CommandTree(Generic[ClientT]):
 | 
				
			|||||||
                await command._invoke_autocomplete(interaction, focused, namespace)
 | 
					                await command._invoke_autocomplete(interaction, focused, namespace)
 | 
				
			||||||
            except Exception:
 | 
					            except Exception:
 | 
				
			||||||
                # Suppress exception since it can't be handled anyway.
 | 
					                # Suppress exception since it can't be handled anyway.
 | 
				
			||||||
                pass
 | 
					                _log.exception('Ignoring exception in autocomplete for %r', command.qualified_name)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user