mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-14 07:56:49 +00:00
🔥 remove dependency override provider
This commit is contained in:
@ -67,8 +67,7 @@ class CustomEnvSettings(EnvSettingsSource):
|
||||
env_val = settings.__config__.json_loads(env_val)
|
||||
except ValueError as e:
|
||||
raise SettingsError(
|
||||
f'error parsing JSON for "{env_name}"' # type: ignore
|
||||
) from e
|
||||
f'error parsing JSON for "{env_name}"') from e
|
||||
d[field.alias] = env_val
|
||||
|
||||
if env_file_vars:
|
||||
|
Reference in New Issue
Block a user