Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: cms/translations/xtm/projects_handler.py

Issue 29968558: Issue 7037 - [XTM Integration] Make REST API url customizable
Patch Set: Removed unnecessary print statements Created Sept. 17, 2019, 12:24 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cms/translations/xtm/constants.py ('k') | cms/translations/xtm/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/translations/xtm/projects_handler.py
diff --git a/cms/translations/xtm/projects_handler.py b/cms/translations/xtm/projects_handler.py
index 95bb86620bc77978916cf338aeae16c00abdbc2b..5509778395198d3474c14b322a177da3664d5cfd 100644
--- a/cms/translations/xtm/projects_handler.py
+++ b/cms/translations/xtm/projects_handler.py
@@ -76,6 +76,7 @@ def create_project(args, api, source):
files=files_to_upload,
)
except Exception as err:
+ print('Caught exception: ', err)
sys.exit(err)
logging.info(const.InfoMessages.PROJECT_CREATED.format(project_id))
« no previous file with comments | « cms/translations/xtm/constants.py ('k') | cms/translations/xtm/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld