Skip to content

Add exception handling in AGAS namespace server iterate methods #6895

@GitMasterJatin

Description

@GitMasterJatin

There are TODO comments indicating missing exception handling in the AGAS base namespace servers:

  1. libs/full/agas_base/src/server/component_namespace_server.cpp (line 281)
  2. libs/full/agas_base/src/server/symbol_namespace_server.cpp (line 279)

// TODO: catch exceptions
void component_namespace::iterate_types(
iterate_types_function_type const& f)
{
// ... implementation without try-catch
}

Suggested Fix
Wrap the iteration logic in appropriate try-catch blocks to handle potential exceptions gracefully, following HPX's error handling patterns

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions