#NEWLINE# def abort( self , status , error = None , encoder = True ) : #NEWLINE# #INDENT# ( self . log . exception if ( self . app . debug and exc_info ( ) [ 0 ] ) else self . log . error ) ( '%r %s %s >> %s' , status , request . method , request . path , ( error or HTTP_STATUS_CODES . get ( status , 'Unknown Error' ) ) ) #NEWLINE# if error : #NEWLINE# #INDENT# return abort ( status , description = error , response = self . encoders [ encoder ] . make_response ( dict ( status = status , error = error ) , status = status ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return abort ( status )