Need better logging of thrift errors

RESOLVED FIXED

Status

Socorro
General
--
major
RESOLVED FIXED
7 years ago
4 years ago

People

(Reporter: dre, Assigned: lars)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

When a processor shuts down due to a thrift problem, it outputs a message that, while pithy, is not very informative.  I need some clue as to what exception Thrift returned so I can try to figure out what is going on and fix it.
(Assignee)

Comment 1

7 years ago
All exceptions are logged in the same way throughout the Socorro Python code: the exception class, the message embedded within the exception (if any), a traceback and finally a pithy comment.  If all you are seeing is the pithy comment, then you need to scroll back in the logs the see the rest of the messages.  There is the possibility that the components of the exception may be physically separated in the log because of interleaving mutlithreading.

If there is an example where the logs are missing all the components of exception handling, please attach it so that it can be located and corrected.
Component: Socorro → General
Product: Webtools → Socorro
(Assignee)

Comment 2

4 years ago
long resolved
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.