mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-26 02:47:22 +08:00
optimize error message
This commit is contained in:
parent
ebe47d2507
commit
c514108f88
@ -13,7 +13,7 @@ from app.utils import utils
|
||||
requested_count = 0
|
||||
pexels_api_keys = config.app.get("pexels_api_keys")
|
||||
if not pexels_api_keys:
|
||||
raise ValueError("pexels_api_keys is not set, please set it in the config.toml file.")
|
||||
raise ValueError(f"\n\n##### pexels_api_keys is not set #####\n\nPlease set it in the config.toml file: {config.config_file}\n\n{utils.to_json(config.app)}")
|
||||
|
||||
|
||||
def round_robin_api_key():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user