Changeset 1597

Show
Ignore:
Timestamp:
08-03-11 13:59:28 (3 years ago)
Author:
work@…
Message:

uncommented try/catch block

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1588 r1597  
    660660        boolean saveEntities(flow, params) { 
    661661                //def (validatedSuccesfully, updatedEntities, failedToPersist) = 
    662                 //try { 
    663                 importerService.saveDatamatrix(flow.importer_study, flow.importer_importeddata, authenticationService, log) 
    664  
    665                 //} 
    666                 //catch (Exception e) { 
    667 //                log.error ".import wizard saveEntities error\n" + e.dump() 
    668 //            } 
     662                try { 
     663                        importerService.saveDatamatrix(flow.importer_study, flow.importer_importeddata, authenticationService, log) 
     664                } catch (Exception e) { 
     665                        log.error ".import wizard saveEntities error\n" + e.dump() 
     666                } 
    669667 
    670668                //flow.importer_validatedsuccesfully = validatedSuccesfully