Project

General

Profile

« Previous | Next » 

Revision 56307

print more info on Exception of feeding objectStore

View differences:

modules/dnet-s3-objectStore/trunk/src/main/java/eu/dnetlib/data/objectstore/s3/S3ObjectStore.java
27 27
import org.apache.commons.logging.Log;
28 28
import org.apache.commons.logging.LogFactory;
29 29
import org.bson.Document;
30
import org.apache.commons.lang3.exception.ExceptionUtils;
30 31

  
32

  
31 33
import java.io.*;
32 34
import java.nio.file.Files;
33 35
import java.nio.file.Path;
......
164 166

  
165 167
            }
166 168
        } catch (Throwable e) {
167
            log.error("Error on put file in the objectStore");
169
            log.error("Error on put file in the objectStore", e);
170
            log.error(ExceptionUtils.getStackTrace(e));
168 171
            throw new ObjectStoreServiceException(e);
169 172

  
170 173
        }

Also available in: Unified diff