Skip to content

Refactoring Error Logging Inconsistencies in MdTag.scala #2401

@joonkang-git

Description

@joonkang-git

After review there were several inconsistencies found in the file MdTag.scala in terms of error logging.

throw new IllegalArgumentException(s"MdTag $mdTagInput does not start with a digit")

case _ => throw new IllegalStateException("Could not find deleted base at cigar offset " + i)

These are included in the code without a clear pattern to their usage. In addition the error messages associated are inconsistent in detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions