Add a check in dd report to avoid crash (#891)

This commit is contained in:
DidierRLopes
2021-11-01 01:44:29 +00:00
committed by GitHub
parent c5c3b8eee9
commit 19bbc6c1b7

View File

@@ -114,7 +114,10 @@
"source": [
"from gamestonk_terminal.stocks.due_diligence import finviz_view\n",
"\n",
"finviz_view.analyst(ticker=ticker, export='')"
"try:\n",
" finviz_view.analyst(ticker=ticker, export='')\n",
"except Exception as e:\n",
" print(e)"
]
},
{