Changeset 2207

Show
Ignore:
Timestamp:
03-04-12 16:06:10 (2 years ago)
Author:
work@…
Message:

println -> log.error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/api/ApiService.groovy

    r2206 r2207  
    126126            ); 
    127127        } catch (Exception e) { 
    128             println "api.getMeasurements failed :: ${e.getMessage()}" 
     128            log.error "api.getMeasurements failed :: ${e.getMessage()}" 
    129129            json = new org.codehaus.groovy.grails.web.json.JSONArray() 
    130130        } 
     
    155155            ); 
    156156        } catch (Exception e) { 
    157             println "api.getMeasurementData failed :: ${e.getMessage()}" 
     157            log.error "api.getMeasurementData failed :: ${e.getMessage()}" 
    158158            json = new org.codehaus.groovy.grails.web.json.JSONArray() 
    159159        } 
     
    184184            ); 
    185185        } catch (Exception e) { 
    186             println "api.getMeasurementMetaData failed :: ${e.getMessage()}" 
     186            log.error "api.getMeasurementMetaData failed :: ${e.getMessage()}" 
    187187            json = new org.codehaus.groovy.grails.web.json.JSONArray() 
    188188        }