Runtime Error
Traceback (most recent call last):
File "/home/site/wwwroot/SkillRunner/bot/apiclient.py", line 91, in send
result.raise_for_status()
File "/home/site/wwwroot/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://app.ab.bot/api/skills/2384/brain?key=some_key
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/site/wwwroot/SkillRunner/bot/bot.py", line 166, in run_user_script
policy.exec(self.code, script_locals)
File "/home/site/wwwroot/SkillRunner/bot/policy.py", line 328, in exec
exec(byte_code, globals)
File "<skill code>", line 1, in <module>
File "/home/site/wwwroot/SkillRunner/bot/storage.py", line 27, in get
output = self._api_client.get(path)
File "/home/site/wwwroot/SkillRunner/bot/apiclient.py", line 56, in get
return self.send(path, 'GET')
File "/home/site/wwwroot/SkillRunner/bot/apiclient.py", line 96, in send
self.logger.exception(f"There was an error {method}ing to {url}", e)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1481, in exception
self.error(msg, *args, exc_info=exc_info, **kwargs)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1475, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1589, in _log
self.handle(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1599, in handle
self.callHandlers(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
hdlr.handle(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle
self.emit(record)
File "/azure-functions-host/workers/python/3.9/LINUX/X64/azure_functions_worker/dispatcher.py", line 713, in emit
msg = self.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 927, in format
return fmt.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 663, in format
record.message = record.getMessage()
File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting