Revision 7266
Added by Chris Jones over 12 years ago
src/edu/ucsb/nceas/metacat/restservice/D1ResourceHandler.java | ||
---|---|---|
519 | 519 |
MultipartRequest mr = null; |
520 | 520 |
try { |
521 | 521 |
mr = mrr.resolveMultipart(request); |
522 |
|
|
522 | 523 |
} catch (Exception e) { |
524 |
if ( logMetacat.isDebugEnabled() ) { |
|
525 |
e.printStackTrace(); |
|
526 |
|
|
527 |
} |
|
523 | 528 |
throw new ServiceFailure("1202", |
524 | 529 |
"Could not resolve multipart: " + e.getMessage()); |
530 |
|
|
525 | 531 |
} |
526 | 532 |
logMetacat.debug("resolved multipart request"); |
527 | 533 |
Map<String, File> files = mr.getMultipartFiles(); |
Also available in: Unified diff
Print the stack trace when the MMP cannot be resolved.