timeout + spacing (#4877)

This commit is contained in:
montezdesousa
2023-04-24 15:51:41 +01:00
committed by GitHub
parent 1b8616e7f9
commit dd2e4822a4
2 changed files with 2 additions and 2 deletions

View File

@@ -11,6 +11,6 @@ CHARTS_TABLES_URL = HUB_URL + "app/terminal/theme/charts-tables"
DEFAULT_ROUTINES_URL = "https://tffo1zc1.directus.app/items/Routines"
TIMEOUT = 15
TIMEOUT = 30
CONNECTION_ERROR_MSG = "[red]Connection error.[/red]"
CONNECTION_TIMEOUT_MSG = "[red]Connection timeout.[/red]"

View File

@@ -137,7 +137,7 @@ def download_and_save_routines(auth_header: str):
for name, content in routines.items():
save_routine(file_name=f"{name}.openbb", routine=content, force=True)
except Exception:
console.print("[red]Failed to download and save routines.[/red]")
console.print("[red]\nFailed to download and save routines.[/red]")
def update_backend_sources(auth_header, configs, silent: bool = True):