Skip to content

Commit

Permalink
refactor(decode): update error message
Browse files Browse the repository at this point in the history
Signed-off-by: Universal Studio <[email protected]>
  • Loading branch information
TMUniversal committed Apr 2, 2024
1 parent 7322281 commit befba1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ The data should be read from a file or stdin, you will be required to provide a

headers[key] = string(headerLineSplit[1])
}
} else {
return errors.Join(errorParsingHeader, errors.New("header not present, header and content should be separated by two empty lines"))
}

// Debug: print headers
Expand Down

0 comments on commit befba1b

Please sign in to comment.