Skip to content

Commit

Permalink
add error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Ski committed Sep 19, 2024
1 parent b519a30 commit 2b26758
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,15 @@ public void handleHttpResponse (Net.HttpResponse httpResponse) {
} catch (IOException e) {
e.printStackTrace();
}
} else {
Gdx.app.postRunnable(new Runnable() {
@Override
public void run () {
Toasts.getInstance().showErrorToast("Error downloading tools, " + status.getStatusCode());
}
});
}

}

@Override
Expand Down

0 comments on commit 2b26758

Please sign in to comment.