Skip to content

Commit

Permalink
Merge pull request #61 from awesominat/get-news-and-info-errors
Browse files Browse the repository at this point in the history
getNews use case error message fixed
  • Loading branch information
rickygrosvenor-pramanick committed Nov 20, 2023
2 parents bb5919b + 77079dc commit 9eee38d
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 9eee38d

Please sign in to comment.