Make EXIT_WITH_ERROR use stderr instead of stdout #53

Open
opened 2023-02-23 17:55:57 +01:00 by Benjamin_Loison · 0 comments

As well as:

  • main.cpp Line 706 in 3fa4d43bbd
    PRINT("writeFile error: " << strerror(errno))
    - should in fact use EXIT_WITH_ERROR for this one and remove the dead code return false;.
  • main.cpp Line 793 in 3fa4d43bbd
    PRINT("Found error in JSON at URL: " << finalUrl << " for content: " << content << " !")
  • main.cpp Line 771 in 3fa4d43bbd
    PRINT("Parse error for " << finalUrl << ", as got: " << content << " ! Retrying...")
As well as: - https://gitea.lemnoslife.com/Benjamin_Loison/YouTube_captions_search_engine/src/commit/3fa4d43bbdcf7116ee6d9e12ea67cce743a235d9/main.cpp#L706 - should in fact use `EXIT_WITH_ERROR` for this one and remove the dead code `return false;`. - https://gitea.lemnoslife.com/Benjamin_Loison/YouTube_captions_search_engine/src/commit/3fa4d43bbdcf7116ee6d9e12ea67cce743a235d9/main.cpp#L793 - https://gitea.lemnoslife.com/Benjamin_Loison/YouTube_captions_search_engine/src/commit/3fa4d43bbdcf7116ee6d9e12ea67cce743a235d9/main.cpp#L771
Benjamin_Loison added the
quick
enhancement
low priority
labels 2023-02-23 17:55:57 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Benjamin_Loison/YouTube_captions_search_engine#53
No description provided.