fix #71
This commit is contained in:
parent
2fb512d8aa
commit
3af283b89d
1 changed files with 5 additions and 3 deletions
|
@ -192,9 +192,11 @@ public class CrawlingConfigHelper implements Serializable {
|
|||
StreamUtil.drain(is, os);
|
||||
os.flush();
|
||||
} catch (final IOException e) {
|
||||
throw new FessSystemException(
|
||||
"Failed to write a content. configId: " + configIdObj
|
||||
+ ", url: " + url, e);
|
||||
if (!"ClientAbortException".equals(e.getClass().getSimpleName())) {
|
||||
throw new FessSystemException(
|
||||
"Failed to write a content. configId: " + configIdObj
|
||||
+ ", url: " + url, e);
|
||||
}
|
||||
} finally {
|
||||
IOUtils.closeQuietly(is);
|
||||
IOUtils.closeQuietly(os);
|
||||
|
|
Loading…
Add table
Reference in a new issue