run_pylint: Tighten exception capture in main.

We want to avoid printing a stack trace when a lint check fails. But if
pytlint chokes on a file for some other reason, we want that trace.

BUG=None.
TEST=./utils/run_pylint throws an exception trace (that's a separate
     bug)

Change-Id: Ib002d99707a8707cb5f3ce2de3079a8f37f32b08
Reviewed-on: https://chromium-review.googlesource.com/427409
Commit-Ready: Prathmesh Prabhu <[email protected]>
Tested-by: Prathmesh Prabhu <[email protected]>
Reviewed-by: Prathmesh Prabhu <[email protected]>
Reviewed-by: Shuqian Zhao <[email protected]>
diff --git a/utils/run_pylint.py b/utils/run_pylint.py
index 3f72c6b..6bf52ec 100755
--- a/utils/run_pylint.py
+++ b/utils/run_pylint.py
@@ -459,6 +459,6 @@
 if __name__ == '__main__':
     try:
         main()
-    except Exception as e:
+    except pylint_error as e:
         logging.error(e)
         sys.exit(1)