Greg Price
77e47900dd
errors: Stop showing a long list of Nones when there's no request.
...
This had contributed to making the emails look broken and of uncertain
accuracy.
2017-12-22 11:52:13 -05:00
Greg Price
68fa29c3ec
errors: Make Zulip and email paths more parallel.
...
This helps prevent them from diverging and getting different sets of
features and fixes. As a bonus, the email path gets a nice tweak that
the Zulip path has had for years, since f7f2ec0ac , which makes the
emails clearer and less broken-looking when logging a message with no
stack trace.
2017-12-22 11:52:13 -05:00
rht
3f4bf2d22f
zerver/lib: Use python 3 syntax for typing.
...
Extracted from a larger commit by tabbott because these changes will
not create significant merge conflicts.
2017-11-21 20:56:40 -08:00
Greg Price
bd5905da5d
error_notify: Use git describe --always.
...
This way, even if the repo lacks any tags, we still
at least get the commit ID.
2017-11-17 14:19:20 -08:00
Greg Price
3828305305
error_notify: Try git describe too.
...
Tested for graceful degradation both with `git` not existing and the
`.git` directory not existing.
2017-11-16 19:15:12 -08:00
Greg Price
41ecdd8d83
error_notify: Add some idea of the deployed code version.
...
Tested in dev with the help of our handy /emails/ display.
2017-11-16 19:15:12 -08:00
Tim Abbott
054952a44a
docs: Update links from codebase to point to ReadTheDocs.
2017-11-16 10:53:49 -08:00
Tim Abbott
ce7ab0474d
error_notify: Add IP address to browser error reports.
...
This should make debugging a bit more convenient when we want to know
which of a user's clients was involved.
2017-10-04 13:46:05 -07:00
Tim Abbott
0744961afe
docs: Add more comprehensive documentation on error reporting.
...
Fixes #2232 .
2017-09-27 19:47:08 -07:00
rht
035ed93111
zerver/lib: remove import six.
2017-09-27 19:10:28 -07:00
rht
f43e54d352
zerver/lib: Remove absolute_import.
2017-09-27 10:00:39 -07:00
Konstantin Gukov
dd76222a3f
Fetch system bots using new get_system_bot function.
...
This eliminate a bunch of uninteresting calls to
get_user_profile_by_email.
2017-05-23 10:30:40 -07:00
Tim Abbott
dd9e0b8463
errors: Move do_report_error into zerver/lib/.
2017-01-23 23:18:28 -08:00
Tim Abbott
e6fc4ae27d
errors: Move zilencer/error_notify.py to zerver/lib/.
2017-01-23 23:17:09 -08:00