Skip to content

Duplicated debug message #23

Closed
Closed
@jnogol

Description

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.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions