Skip to content

Misleading startup script message #2446

Description

@skliper

Is your feature request related to a problem? Please describe.
Misleading number reported when checking number of tokens (NumTokens vs the file entry):

CFE_ES_WriteToSysLog("%s: Invalid ES Startup file entry: %u\n", __func__, (unsigned int)NumTokens);

Describe the solution you'd like
Recommend moving the check to where tokens are parsed, since that's where the entry number is available. Could print out the actual tokens. I'd expect the most frequent issue would be missing a comma.

Describe alternatives you've considered
If check is kept where it is now, clarify w/ something like NumTokens = %u != 8

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

Activity

  1. added theissue type on May 20, 2026
  2. added a commit that references this issue on Aug 13, 2026
  3. added a commit that references this issue on Aug 13, 2026
    db616a4
  4. added 3 commits that reference this issue on Aug 13, 2026
    d7d6146
    d12b779
    2eed2ed
  5. added a commit that references this issue on Aug 13, 2026
    154f588
  6. added a commit that references this issue on Aug 13, 2026
    1d11205
  7. added a commit that references this issue on Sep 10, 2026
    9b80353
  8. added a commit that references this issue on Oct 7, 2026
    33de182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions