summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
501ad95)
Also fixed an NPE from org.simantics.platform.ui.internal.Activator.stop
gitlab #437
Change-Id: I83e5d08d49ee0f97ac6c81987054ffa01b916516
SimanticsConsole sc = new SimanticsConsole();
ConsolePlugin.getDefault().getConsoleManager().addConsoles(new SimanticsConsole[] {sc});
SimanticsConsole sc = new SimanticsConsole();
ConsolePlugin.getDefault().getConsoleManager().addConsoles(new SimanticsConsole[] {sc});
* Semantum Oy - initial API and implementation
*******************************************************************************/
package org.simantics.platform.ui.internal;
* Semantum Oy - initial API and implementation
*******************************************************************************/
package org.simantics.platform.ui.internal;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.PrintWriter;
import java.io.StringWriter;
@Override
public void stop(BundleContext context) throws Exception {
@Override
public void stop(BundleContext context) throws Exception {
b.append('[');
b.append(formatter.format(new Date(e.getTimeStamp())));
b.append("]: ");
b.append('[');
b.append(formatter.format(new Date(e.getTimeStamp())));
b.append("]: ");
- b.append(e.getMessage());
+ b.append(e.getFormattedMessage());
console.write(b.toString());
}
console.write(b.toString());
}