def return_traceback_in_unhandled_exceptions():
 global get_fault_string_from_exception
 import traceback
 def _get_fault_string_from_exception(e):
  return traceback.format_exc()
 get_fault_string_from_exception = _get_fault_string_from_exception

def return_traceback_in_unhandled_exceptions ( ) : global get_fault_string_from_exception import traceback def _get_fault_string_from_exception ( e ) : return traceback . format_exc ( ) get_fault_string_from_exception = _get_fault_string_from_exception
call this function first thing in your main function to return original python errors to your clients in case of unhandled exceptions .