Changeset 29591
- Timestamp:
- 01/24/08 11:39:34 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.core/branches/1.4/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/api/impl/DocumentModelImpl.java
r29429 r29591 443 443 // TODO: how to handle exceptions? 444 444 log.error("ERROR getting the data model: " + schema + " for " 445 + ref );445 + ref,e); 446 446 } 447 447 } … … 627 627 } catch (Exception e) { 628 628 // XXX this exception shouldn't be swallowed! 629 log.error("ERROR getting the ACP for " + ref );629 log.error("ERROR getting the ACP for " + ref,e); 630 630 } 631 631 } … … 646 646 } catch (Exception e) { 647 647 // XXX this exception shouldn't be swallowed! 648 log.error("ERROR setting the ACP for " + ref );648 log.error("ERROR setting the ACP for " + ref,e); 649 649 } 650 650 } … … 1398 1398 type = Framework.getService(SchemaManager.class).getDocumentType(getType()); 1399 1399 } catch (Exception e) { 1400 e.printStackTrace();1400 log.error(e); 1401 1401 } 1402 1402 Collection<Schema> schemas = type.getSchemas();
