Skip to content

global name 'logging' is not defined (in base.py) #3

Description

@rbucker

working from the latest committed on GH I'm getting an error when I mask my Handler function with @async.

File "/Users/rbucker/.virtualenvs/spotify/lib/python2.7/site-packages/tornadorpc/base.py", line 161, in dispatch
    logging.warning(message)
NameError: global name 'logging' is not defined

Note that on line 161 there is the call:

logging.warning(message)

however, you have not imported the logging global from either python or TornadoWeb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions