Skip to content

Commit

Permalink
fixed error message for header information not seperated from content…
Browse files Browse the repository at this point in the history
… by a newline
  • Loading branch information
benne238 committed Jun 30, 2021
1 parent 56798fb commit f61860e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webqueue2api/parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def error_handler(original_string, match_start_index, tokens):
parse_error["got"] = reply_from_user_end_delimiter
parse_error["line_num"] = line_number
parsed_item.append(parse_error)
raise ParseError(line_number, f"No reply from user end delimiter found")
raise ParseError(line_number, f"No newline found after header information")

elif token_string == reply_from_user_start_delimiter:
expected_token = reply_from_user_end_delimiter
Expand Down

0 comments on commit f61860e

Please sign in to comment.