ボットが止まるときいつも出るエラー

 

 

Traceback (most recent call last):
  File "RSIMA3_0bitget.py", line 479, in start
    df = await get_candle(client, df, interval_int)
  File "RSIMA3_0bitget.py", line 269, in get_candle
    resps = await client.get(RestAPI_url['bitget']+'/api/mix/v1/market/candles',
  File "/usr/local/lib/python3.8/dist-packages/aiohttp/client.py", line 619, in _request
    break
  File "/usr/local/lib/python3.8/dist-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "RSIMA3_0bitget.py", line 517, in <module>
    asyncio.run(start(max_lot, lot_size, interval))
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "RSIMA3_0bitget.py", line 493, in start
    print_log('logic and entry error',e)
TypeError: print_log() takes 1 positional argument but 2 were given
user@instance-1:~$