File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 python -m pip install --upgrade pip
4545 python -m pip install crowdin-api-client pygithub
4646
47- - name : Update dashboard
48- run : |
49- python /scripts/update_dashboard.py
50-
5147 - name : Build with Hugo
5248 run : |
5349 git submodule update --init --recursive # fetch theme
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ themes: themes/scientific-python-hugo-theme
2323
2424html : # # Build site in `./public`
2525html : themes content/shortcodes.md
26+ python scripts/update_dashboard.py
2627 hugo
2728
2829serve : # # Serve site, typically on http://localhost:1313
Original file line number Diff line number Diff line change @@ -158,6 +158,11 @@ def main() -> None:
158158 translators = client .get_project_translators (
159159 crowdin_project ,
160160 )
161+ except Exception as e :
162+ print (f"Error: { e } " )
163+ traceback .print_exc ()
164+ return
165+
161166
162167if __name__ == "__main__" :
163- main ()
168+ main ()
You can’t perform that action at this time.
0 commit comments