If the default namepace is not correct for linked data, log a warning instead of throwing an exception.
This commit is contained in:
parent
12a79ea928
commit
0f6fd1b39a
1 changed files with 2 additions and 3 deletions
|
@ -32,9 +32,8 @@ public class FileServingHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defaultNamespace.endsWith(DEFAULT_PATH)) {
|
if (!defaultNamespace.endsWith(DEFAULT_PATH)) {
|
||||||
throw new IllegalArgumentException(
|
log.warn("Default namespace does not match the expected form: '"
|
||||||
"Default namespace does not match the expected form: '"
|
+ defaultNamespace + "'");
|
||||||
+ defaultNamespace + "'");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return defaultNamespace;
|
return defaultNamespace;
|
||||||
|
|
Loading…
Add table
Reference in a new issue