Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Last Error Message returns empty string #51

Open
tom-wp opened this issue Jan 19, 2023 · 1 comment
Open

Get Last Error Message returns empty string #51

tom-wp opened this issue Jan 19, 2023 · 1 comment
Assignees

Comments

@tom-wp
Copy link
Contributor

tom-wp commented Jan 19, 2023

Description:

To test our code we forced a publish error in .Instance.Set(x) by mismatching the Go structure json tags with the xml definition of the topic. This test correctly generated an error but with the message: "DDS Exception: ", there was no text describing the exception. Looking into the Go code this text should be returned by the method C.RTI_Connector_get_last_error_message(). Is the message pipeline broken or is this just one error that doesn't have a message?

How to reproduce:

  1. Create a valid topic definition in the XML file.
  2. Publish to this topic in Go but using a structure with json tags not matched to the XML.
  3. Read back publish error message.

System information:

Operating system: OSX
Platform (e.g. x64Linux2.6gcc4.4.5): osx-x64
Go version: go1.19.4

@kyoungho kyoungho self-assigned this Jan 19, 2023
@kyoungho
Copy link
Collaborator

It seems like the function does not return any messages. Let me check with the Connector dev team on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants