Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-05-22 13:42:47 +0000
committerLars Vogel2020-05-22 14:44:21 +0000
commitfd92edfbead50dfee68f47bea79ca94079d4dd66 (patch)
tree8e96ba80758edd0f602a3abb8ee8b207aabc5f53
parent2f4ce21b0a49c72dd11f7fa7b55d7017dc770a34 (diff)
downloadeclipse.platform.ua-fd92edfbead50dfee68f47bea79ca94079d4dd66.tar.gz
eclipse.platform.ua-fd92edfbead50dfee68f47bea79ca94079d4dd66.tar.xz
eclipse.platform.ua-fd92edfbead50dfee68f47bea79ca94079d4dd66.zip
Bug 560168 - [CheatSheet] Refactor logging to more modern and less
verbose way For tips.ide Change-Id: I295876140c6562b0d4f5b9a54c4ac219c720644f Signed-off-by: George Suaridze <suag@1c.ru>
-rw-r--r--org.eclipse.tips.ide/src/org/eclipse/tips/ide/internal/TipsStartupService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.tips.ide/src/org/eclipse/tips/ide/internal/TipsStartupService.java b/org.eclipse.tips.ide/src/org/eclipse/tips/ide/internal/TipsStartupService.java
index 7deeef830..2e072c3a2 100644
--- a/org.eclipse.tips.ide/src/org/eclipse/tips/ide/internal/TipsStartupService.java
+++ b/org.eclipse.tips.ide/src/org/eclipse/tips/ide/internal/TipsStartupService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2018 Remain Software
+ * Copyright (c) 2018, 2020 Remain Software and others
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -10,6 +10,7 @@
*
* Contributors:
* wim.jongman@remainsoftware.com - initial API and implementation
+ * George Suaridze <suag@1c.ru> (1C-Soft LLC) - Bug 560168
*******************************************************************************/
package org.eclipse.tips.ide.internal;
@@ -208,7 +209,6 @@ public class TipsStartupService implements EventHandler {
private static void log(CoreException e) {
Bundle bundle = FrameworkUtil.getBundle(TipsStartupService.class);
- Status status = new Status(IStatus.ERROR, bundle.getSymbolicName(), e.getMessage(), e);
- Platform.getLog(bundle).log(status);
+ Platform.getLog(bundle).error(e.getMessage(), e);
}
} \ No newline at end of file

Back to the top