#NEWLINE# def _req( self , _api , * args , **kwargs ) : #NEWLINE# #INDENT# if ( not self . _upgraded ) : #NEWLINE# #INDENT# return super ( TTrackedClient , self ) . _req ( _api , * args , ** kwargs ) #NEWLINE# #UNINDENT# exception = None #NEWLINE# status = False #NEWLINE# try : #NEWLINE# #INDENT# res = super ( TTrackedClient , self ) . _req ( _api , * args , ** kwargs ) #NEWLINE# status = True #NEWLINE# return res #NEWLINE# #UNINDENT# except BaseException as e : #NEWLINE# #INDENT# exception = e #NEWLINE# raise #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# header_info = RequestInfo ( request_id = self . _header . request_id , seq = self . _header . seq , client = self . tracker . client , server = self . tracker . server , api = _api , status = status , start = self . send_start , end = int ( ( time . time ( ) * 1000 ) ) , annotation = self . tracker . annotation , meta = self . _header . meta ) #NEWLINE# self . tracker . record ( exception , exception )