Merge pull request #74 from zyro23/print-only-when-debug

another occurrence of printStackTrace ...
This commit is contained in:
Andy Clement
2014-07-10 09:59:05 +01:00

View File

@@ -288,7 +288,9 @@ public class SpringPlugin implements LoadtimeInstrumentationPlugin, ReloadEventP
}
}
} catch (Exception e) {
e.printStackTrace();
if (GlobalConfiguration.debugplugins) {
e.printStackTrace();
}
}
}
}