diff --git a/editor/src/com/talosvfx/talos/editor/addons/scene/assets/RepositoryOptimizer.java b/editor/src/com/talosvfx/talos/editor/addons/scene/assets/RepositoryOptimizer.java index dc3a7ac0..e371f450 100644 --- a/editor/src/com/talosvfx/talos/editor/addons/scene/assets/RepositoryOptimizer.java +++ b/editor/src/com/talosvfx/talos/editor/addons/scene/assets/RepositoryOptimizer.java @@ -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