mirror of
https://github.com/apache/olingo-odata4.git
synced 2025-02-15 06:26:38 +00:00
[OLINGO-936] Preserve Stacktrace
This commit is contained in:
parent
f18a489f97
commit
43feffc48f
@ -110,7 +110,7 @@ public abstract class AbstractEdmBindingTarget extends AbstractEdmNamed implemen
|
||||
bindingTarget = entityContainer.getSingleton(edmTarget.getTargetName());
|
||||
|
||||
if (bindingTarget == null) {
|
||||
throw new EdmException("Cannot find Singleton " + edmTarget.getTargetName());
|
||||
throw new EdmException("Cannot find Singleton " + edmTarget.getTargetName(), e);
|
||||
}
|
||||
} finally {
|
||||
found = bindingTarget != null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user