mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 17:32:31 -05:00
[Core V3] Make the bot data path configurable (#879)
* Initial commit * Fix sentry * Make cog manager install path work relative to the bot's dir * Fix downloader to save data relative to the defined data folder * Fix sentry test * Fix downloader tests * Change logfile location * Add another line to codeowners * Basic tests * Fix versioning * Add in FutureWarning for config file changes * Add reference to issue
This commit is contained in:
@@ -27,12 +27,12 @@ include_paths = (
|
||||
client = None
|
||||
|
||||
|
||||
def init_sentry_logging(logger):
|
||||
def init_sentry_logging(bot, logger):
|
||||
global client
|
||||
client = Client(
|
||||
dsn=("https://27f3915ba0144725a53ea5a99c9ae6f3:87913fb5d0894251821dcf06e5e9cfe6@"
|
||||
"sentry.telemetry.red/19?verify_ssl=0"),
|
||||
release=fetch_git_sha(str(Path.cwd()))
|
||||
release=fetch_git_sha(str(bot.main_dir))
|
||||
)
|
||||
|
||||
breadcrumbs.ignore_logger("websockets")
|
||||
|
||||
Reference in New Issue
Block a user