Closed DrMartiner closed 12 years ago
Hi!
It's grate application!
I got error: NameError at /
global name 'logger' is not defined
Request Method: GET Request URL: http://localhost:8000/ Django Version: 1.4 Exception Type: NameError Exception Value:
Exception Location: /path/to/env/src/package/coldbrew/init.py in compile, line 25 Python Executable: /path/to/env/bin/python Python Version: 2.7.2
You're right. We don't have any tests that cover the error handling, so this one slipped through the cracks.
Solution: import logging logger = logging.getLogger('coldbrew')
Hi!
It's grate application!
I got error: NameError at /
global name 'logger' is not defined
Request Method: GET Request URL: http://localhost:8000/ Django Version: 1.4 Exception Type: NameError Exception Value:
global name 'logger' is not defined
Exception Location: /path/to/env/src/package/coldbrew/init.py in compile, line 25 Python Executable: /path/to/env/bin/python Python Version: 2.7.2