Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CMD log to be a well-formed JSON string #2523

Merged
merged 4 commits into from
Sep 12, 2022

Conversation

hjoaquim
Copy link
Contributor

@hjoaquim hjoaquim commented Sep 9, 2022

With this small change, we ensure that the logs we're generating are a well-formed (and escaped) JSON string. Thus, avoiding a lot of problems on the analytics side, when we try to read the "CMD" as a JSON - which ultimately was leading to loss of data.

@hjoaquim hjoaquim added enhancement Enhancement analytics Logging and analytics labels Sep 9, 2022
@hjoaquim hjoaquim removed the enhancement Enhancement label Sep 9, 2022
Copy link
Contributor

@Chavithra Chavithra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Chavithra Chavithra marked this pull request as ready for review September 12, 2022 12:46
@Chavithra Chavithra merged commit a73c123 into OpenBB-finance:main Sep 12, 2022
@hjoaquim hjoaquim deleted the fix_logs branch November 16, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analytics Logging and analytics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants