#NEWLINE# @ server_side #NEWLINE# def dispatch( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# output = voltron . debugger . command ( self . command ) #NEWLINE# res = APICommandResponse ( ) #NEWLINE# res . output = output #NEWLINE# #UNINDENT# except NoSuchTargetException : #NEWLINE# #INDENT# res = APINoSuchTargetErrorResponse ( ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# msg = 'Exception executing debugger command: {}' . format ( repr ( e ) ) #NEWLINE# log . exception ( msg ) #NEWLINE# res = APIGenericErrorResponse ( msg ) #NEWLINE# #UNINDENT# return res