'Only print the exception type and message, without a traceback.
Parameters
etype : exception type
value : exception value'

def get_exception_only(self, etype, value):

    return ListTB.structured_traceback(self, etype, value, [])
