Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AKTIN
dwh-import
Commits
70833b70
Commit
70833b70
authored
Apr 17, 2019
by
R.W.Majeed
Browse files
don't include exception in response for unsupported template
parent
b3925568
Changes
1
Hide whitespace changes
Inline
Side-by-side
cda-server/src/main/java/org/aktin/cda/etl/xds/DocumentRepository.java
View file @
70833b70
...
...
@@ -107,7 +107,7 @@ public class DocumentRepository implements DocumentRepositoryPortType, ExternalI
return
createErrorResponse
(
XDSConstants
.
ERR_REPO_ERROR
,
"Internal error"
,
e
);
}
catch
(
UnsupportedTemplateException
e
){
log
.
log
(
Level
.
WARNING
,
"Unsupported template"
,
e
);
return
createErrorResponse
(
XDSConstants
.
ERR_DOC_INVALID_CONTENT
,
"Template not supported
r"
,
e
);
return
createErrorResponse
(
XDSConstants
.
ERR_DOC_INVALID_CONTENT
,
"Template not supported
: "
+
e
.
getTemplateId
()
);
}
RegistryResponseType
resp
=
new
RegistryResponseType
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment