"useragent" : "Mozilla/5.0 (Windows NT 10.0; rv:113.0) Gecko/20100101 Firefox/113.0",
"connection_timeout" : 30,
"read_timeout" : 5,
- "hostname" : "fba.ryona.agency",
+ "hostname" : "example.org",
"timestamp_format" : "%Y-%m-%d %H:%M",
"nodeinfo_connection_timeout": 3,
"nodeinfo_read_timeout" : 2,
"bot_enabled" : false,
- "bot_instance" : "https://example.com",
+ "bot_instance" : "https://example.org",
"bot_token" : "",
"bot_visibility" : "unlisted",
"slogan" : "### Your footer slogan ###",
return
logger.debug("error[]='%s' - BEFORE!", type(error))
- if isinstance(error, BaseException, error, json.decoder.JSONDecodeError):
+ if isinstance(error, (BaseException, json.decoder.JSONDecodeError)):
error = f"error[{type(error)}]='{str(error)}'"
logger.debug("error[]='%s' - AFTER!", type(error))