code: async def on_error(self, event_method, *args, **kwargs):
          
          print('Ignoring exception in {}'.format(event_method), file=sys.stderr)
          traceback.print_exc()
docs: |coro|
  
          The default error handler provided by the client.
  
          By default this prints to :data:`sys.stderr` however it could be
          overridden to have a different implementation.
          Check :func:`discord.on_error` for more details.