diff --git a/astrid/src/com/todoroo/astrid/ui/WebServicesView.java b/astrid/src/com/todoroo/astrid/ui/WebServicesView.java index 56a03ca61..09647e62d 100644 --- a/astrid/src/com/todoroo/astrid/ui/WebServicesView.java +++ b/astrid/src/com/todoroo/astrid/ui/WebServicesView.java @@ -591,12 +591,14 @@ public class WebServicesView extends LinearLayout { public void run() { body.removeAllViews(); - TextView textView = new TextView(getContext()); - textView.setTextAppearance(getContext(), R.style.TextAppearance_Medium); - textView.setText(exception.getClass().getSimpleName() + ": " + - exception.getLocalizedMessage()); - textView.setLines(2); - body.addView(textView); + if (Constants.DEBUG) { + TextView textView = new TextView(getContext()); + textView.setTextAppearance(getContext(), R.style.TextAppearance_Medium); + textView.setText(exception.getClass().getSimpleName() + ": " + + exception.getLocalizedMessage()); + textView.setLines(2); + body.addView(textView); + } } }); }