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

Duplicated debug message #23

Closed
jnogol opened this issue Sep 13, 2017 · 0 comments
Closed

Duplicated debug message #23

jnogol opened this issue Sep 13, 2017 · 0 comments
Assignees

Comments

@jnogol
Copy link
Collaborator

jnogol commented Sep 13, 2017

Before calling the parser, the JSON received is printed if log level is DEBUG:

logger.debug('Data received: %s', post_data)
message = compose(self.template_path, parse(post_data))

and is printed too the very moment we call the parser:

def parse(json_str):
    logger.debug('received: %s', json_str)
[...]

So second time is not necessary.

@jnogol jnogol self-assigned this Sep 13, 2017
jnogol pushed a commit that referenced this issue Sep 18, 2017
jmonterrubio added a commit that referenced this issue Sep 20, 2017
#23 Deleted second and redundant debug message line in parser.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants