EA-79529 Report errors of packaging_tool.py with WARN level instead of ERROR
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 18 Apr 2016 09:59:36 +0000 (12:59 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Tue, 19 Apr 2016 11:16:39 +0000 (14:16 +0300)
Errors due to malformed list of requirements or corrupted interpreter
installation shouldn't get into the exception analyzer.

python/src/com/jetbrains/python/inspections/PyPackageRequirementsInspection.java

index 71ccb318cbd5822c499244c16bf61128745f6989..6a38c9d7b7d6848a5be27f5355a2ae132adc8bec 100644 (file)
@@ -256,7 +256,7 @@ public class PyPackageRequirementsInspection extends PyInspection {
         packages = manager.getPackages(PySdkUtil.isRemote(sdk));
       }
       catch (ExecutionException e) {
-        LOG.error(e);
+        LOG.warn(e);
         return null;
       }
       if (packages == null) return null;