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

Debugtoolbar — tidy_stacktrace issue #31

Closed
RealJTG opened this issue Jan 9, 2013 · 1 comment
Closed

Debugtoolbar — tidy_stacktrace issue #31

RealJTG opened this issue Jan 9, 2013 · 1 comment
Milestone

Comments

@RealJTG
Copy link

RealJTG commented Jan 9, 2013

I've noticed an ambiguous behavior of operation_tracker.py:_tidy_stacktrace() function: if your project located somewhere in "/var/www/html/myproject/", all queries will be marked as internal and hidden.

Probably here we must check file extension but not just "html" substring?

            fname = sys._getframe(i).f_code.co_filename
            if 'html' in fname:
                fnames.append(fname)
@rozza
Copy link
Contributor

rozza commented May 2, 2013

Thanks @RealJTG fixed in 0.7

@rozza rozza closed this as completed May 2, 2013
tony added a commit to eduflow/flask-mongoengine that referenced this issue Oct 13, 2018
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