Merge pull request #382 from thesohamdatta/fix/remove-debug-logging-prefixes
Remove debug prefixes from production error logging
This commit is contained in:
commit
e69485bb72
1 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,7 @@ def parse_source_form_data(
|
||||||
try:
|
try:
|
||||||
notebooks_list = json.loads(notebooks)
|
notebooks_list = json.loads(notebooks)
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
logger.error(f"DEBUG - Invalid JSON in notebooks field: {notebooks}")
|
logger.error(f"Invalid JSON in notebooks field: {notebooks}")
|
||||||
raise ValueError("Invalid JSON in notebooks field")
|
raise ValueError("Invalid JSON in notebooks field")
|
||||||
|
|
||||||
transformations_list = []
|
transformations_list = []
|
||||||
|
|
@ -122,7 +122,7 @@ def parse_source_form_data(
|
||||||
transformations_list = json.loads(transformations)
|
transformations_list = json.loads(transformations)
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
logger.error(
|
logger.error(
|
||||||
f"DEBUG - Invalid JSON in transformations field: {transformations}"
|
f"Invalid JSON in transformations field: {transformations}"
|
||||||
)
|
)
|
||||||
raise ValueError("Invalid JSON in transformations field")
|
raise ValueError("Invalid JSON in transformations field")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue