Skip to content

Commit

Permalink
More logging #823
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Mar 20, 2024
1 parent 0bef0b6 commit 62104a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/services/au/org/ala/ecodata/ParatooService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ class ParatooService {
String query = buildSurveyQueryString(start, limit)
log.debug("Retrieving survey data from: "+url+query)
Map response = webService.getJson(url+query, null, authHeader, false)
log.debug(response)
log.debug((response as JSON).toString())
Map survey = findMatchingSurvey(surveyId, response.data, config)

int total = response.meta?.pagination?.total ?: 0
Expand All @@ -472,7 +472,7 @@ class ParatooService {
query = buildSurveyQueryString(start, limit)
log.debug("Retrieving survey data from: "+url+query)
response = webService.getJson(url+query, null, authHeader, false)
log.debug(response)
log.debug((response as JSON).toString())
survey = findMatchingSurvey(surveyId, response.data, config)
}

Expand Down

0 comments on commit 62104a9

Please sign in to comment.