Skip to content

Commit

Permalink
getNews use case error message fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
quiz3 committed Nov 20, 2023
1 parent 5308397 commit 77079dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/use_cases/GetNews/GetNewsInteractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public void execute(GetNewsInputData getNewsInputData) {
getNewsPresenter.prepareSuccessView(result);

} catch (RuntimeException e) {
e.printStackTrace();
getNewsPresenter.prepareFailView("something happened");
// e.printStackTrace();
getNewsPresenter.prepareFailView("Ticker not found or API did not respond.");
}
}
}

0 comments on commit 77079dc

Please sign in to comment.