Skip to content

Missing log definition types shouldn't be a fatal read_log error #171

@amcgee

Description

@amcgee

We should probably log the error and fall back to just printing the raw value without doing type-specific parsing, that way we at least get the rest of the log and know where this occurs.

$ momo controller read_log add_ldf ./momo_modules/mainboard/src/log_definitions.ldf add_ldf ./momo_modules/shared/pic24/src/log_definitions.ldf display
ArgumentError: Parameter has unknown type
Additional Information:
type: fw_scheduled_task
param: Scheduled Call

(this same call with the same momo but omitting the shared .ldf addition works but prints garbage for the unknown log entry types)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions