In android studio v 2.3, in logcat whenever an error is occured, error is not showing in logcat instead app shuts down and shows below log.
D/AndroidRuntime: Shutting down VM I/art: System.exit called, status: 2 I/AndroidRuntime: VM exiting with result code 2, cleanup skipped.