[thrift] make thrift_logger.erl more robust against badmatch Summary: more robust logic theres Reviewed By: eletuchy Test Plan: ok Revert Plan: ok Other Notes: the precommit hooks should forbid out-of-towners from being cited as reviewers