-
Notifications
You must be signed in to change notification settings - Fork 95
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
Log traceback errors on model #18
Conversation
Changes Unknown when pulling be1fe2b on handle_500 into * on master*. |
Hey, thanks for the fix. Is it going to be merged soon ? |
Sure I just wanted to know because we had the error yesterday with a malformation of a JSON causing a 500. |
Changes migration file and dependency back to the initial migration file. The project moved forward with a backwards incompatible change and this PR was not updated to reflect that change. All migrations were squashed into the initial migration for simplicity.
Through user error, the indentation of this test method was incorrectly added. Likely, due to merging conflicts from the master branch using the GIthub UI.
@avelis Can I help you on this one ? as we got the errors too. |
@triat By all means. All contributions are appreciated. |
Hey @avelis, I took the branch on local and tried to pass the tests and they are working on my machine. Could it be possible to rebase the branch from master ? Thanks edit: ok nvm, I've reproduce the errors (finally got a working tox installation) |
Hey @avelis, do you need an other PR to fix the conflicts or you can do it ? Thanks |
@triat probably need a PR to fix this. Been really tied up at work as of late |
Sure, no problem @avelis. I just created a new PR as I can't fix the conflict here. Hope it helps you. Thanks for your reactivity |
Updating the order number of the file and the migration dependency resolves the migration conflict in the PR.
2 similar comments
About those tests, I don't know if we should have a look or if it's normal that they are slow sometimes ? |
@avelis I'm not a huge fan of changing the limit time, if your goal is to have an API with a response time with max 200 ms, having drf-tracking take already almost 25% of your response time. Something that we could do to reduce this amount to 0 is to start using the async in python 3 and / or try to do something similar for python 2 (config with celery?) |
@triat Not against Python 3 async but am concerned with Python 2 and Celery. I like Celery to be honest but am concerned forcing people to use that technology to reduce the middleware's overhead. |
@avelis I'm not talking about forcing them put maybe propose a configuration working with celery if people really do care about their API response time. |
@avelis Hey, can we check now if the tests pass here too by rebasing on master? Thanks |
@triat I was able to do merge via the Github Desktop UI. We can now observe if the checks pass. |
3 similar comments
@avelis apparently it does 👍 |
Hey @avelis, can I just ask you, when you have time, to trigger the build for pipy :) thanks a lot |
Fixed issue #16
This adds an
errors
field, and sets it by overwriting thehandle_exception
method on the view mixin. The response body is unaffected.