One more time -- rationalize log levels, mostly downward, and pull out 1-2 more state...
[zxing.git] / android / src / com / google / zxing / client / android / CaptureActivity.java
index 6b58324..e6f6de8 100755 (executable)
@@ -672,7 +672,7 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal
     } catch (RuntimeException e) {
       // Barcode Scanner has seen crashes in the wild of this variety:
       // java.?lang.?RuntimeException: Fail to connect to camera service
-      Log.e(TAG, e.toString());
+      Log.w(TAG, "Unexpected error initializating camera", e);
       displayFrameworkBugMessageAndExit();
       return;
     }