Hide exception logs in release.

This commit is contained in:
Dmitry Yunitsky 2015-01-28 13:46:10 +03:00 committed by Alex Zolotarev
parent 9668be6c7c
commit f55dd20f27

View file

@ -85,7 +85,8 @@ public class AdsManager
sMenuAds = parseMenuAds(featuresJson);
} catch (JSONException e)
{
e.printStackTrace();
if (BuildConfig.DEBUG)
e.printStackTrace();
}
try
@ -93,7 +94,8 @@ public class AdsManager
sBanners = parseBanners(featuresJson);
} catch (JSONException e)
{
e.printStackTrace();
if (BuildConfig.DEBUG)
e.printStackTrace();
}
}