diff options
author | Stéphane Bégaudeau | 2017-01-11 15:33:18 +0000 |
---|---|---|
committer | Stéphane Bégaudeau | 2017-01-11 15:33:18 +0000 |
commit | c22e6ab7d995bd02809bf95b0c3199467b18391d (patch) | |
tree | b6ee9bc679c8e5c37a67f32cd4357548c1fdb776 | |
parent | 2bc83815ae132fd2e9814d032af4cebc61e8ab9c (diff) | |
download | org.eclipse.eef-c22e6ab7d995bd02809bf95b0c3199467b18391d.tar.gz org.eclipse.eef-c22e6ab7d995bd02809bf95b0c3199467b18391d.tar.xz org.eclipse.eef-c22e6ab7d995bd02809bf95b0c3199467b18391d.zip |
[510278] Keep the exception when logging a status
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510278
Change-Id: I7516bb5d52c1beb9281c68d4311718efeac67c6d
Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
-rw-r--r-- | plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java b/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java index c40f9c280..003b1e8e1 100644 --- a/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java +++ b/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java @@ -71,8 +71,8 @@ public abstract class AbstractEEFEclipsePlugin extends EclipsePlugin { * The structural feature representing the expression */ public void blank(EAttribute expression) { - String message = MessageFormat.format(Messages.AbstractEEFEclipsePlugin_BlankExpression, expression.getName(), expression - .getEContainingClass().getName()); + String message = MessageFormat.format(Messages.AbstractEEFEclipsePlugin_BlankExpression, expression.getName(), + expression.getEContainingClass().getName()); this.error(message); } @@ -102,7 +102,7 @@ public abstract class AbstractEEFEclipsePlugin extends EclipsePlugin { } String message = MessageFormat.format(Messages.AbstractEEFEclipsePlugin_InvalidEvaluation, expression, messageToLog); - IStatus status = new Status(diagnostic.getSeverity(), this.bundleSymbolicName, message); + IStatus status = new Status(diagnostic.getSeverity(), this.bundleSymbolicName, message, diagnostic.getException()); this.getLog().log(status); } |