def METHOD_NAME():
    if Promise.unhandled_exceptions:
        print("Unhandled exceptions in Promises:")
        for exctype, value, tb in Promise.unhandled_exceptions:
            traceback.print_exception(exctype, value, tb)