From 6ebdca02df3a332772f7ed1dd83833ec508c1036 Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Tue, 17 Apr 2012 19:44:38 -0400 Subject: [PATCH] Bug 744530 - SUT agent: do not routinely report expected exceptions. r=ctalbert, a=test-only --- build/mobile/sutagent/android/DoCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/mobile/sutagent/android/DoCommand.java b/build/mobile/sutagent/android/DoCommand.java index f966f1834a6..30155324a41 100755 --- a/build/mobile/sutagent/android/DoCommand.java +++ b/build/mobile/sutagent/android/DoCommand.java @@ -1531,7 +1531,7 @@ private void CancelNotification() } catch (FileNotFoundException e) { sRet += " file not found"; - e.printStackTrace(); + Log.d("SUT", "HashFile: "+e); } catch (IOException e) { sRet += " io exception"; @@ -3508,7 +3508,7 @@ private void CancelNotification() } catch (IllegalThreadStateException itse) { lcv++; - itse.printStackTrace(); + Log.d("SUT", "StartPrg waited 10s for "+progArray[0]); } } } @@ -3639,7 +3639,7 @@ private void CancelNotification() } catch (IllegalThreadStateException itse) { lcv++; - itse.printStackTrace(); + Log.d("SUT", "StartPrg2 waited 10s for "+theArgs[0]); } } }