File tree 2 files changed +4
-3
lines changed
grails-app/services/au/org/ala/alerts
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ class DiffService {
223
223
log. warn " queryId: " + queryResult. query. id + " , queryResult:" + queryResult. id + " last or previous objects contains HTML and not JSON"
224
224
}
225
225
} catch (Exception ex) {
226
- log. error(" queryId: ${ queryResult.query.id} , JsonPath error: ${ ex} " )
226
+ log. error(" queryId: ${ queryResult.query.id} , Runtime error: ${ ex.getMessage() } " )
227
227
}
228
228
229
229
return records
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class NotificationService {
117
117
processedJson = processQuery(query, urlString)
118
118
}
119
119
120
- // todo:
120
+ // todo: Legacy code.
121
121
// Review: Duplicated with the process of identifying record changes after
122
122
// It is only for updating the stored properties
123
123
// Considering remove
@@ -129,7 +129,8 @@ class NotificationService {
129
129
qr. previousResult = qr. lastResult
130
130
qr. lastResult = qr. compress(processedJson)
131
131
qr. lastChecked = checkDate
132
- // todo: review if it is necessary to store
132
+ // todo: review if it fully supports all queries
133
+ // Legacy code. It does not support MyAnnotation
133
134
qr. hasChanged = diffService. hasChanged(qr)
134
135
qr. queryUrlUsed = urlString
135
136
qr. queryUrlUIUsed = urlStringForUI
You can’t perform that action at this time.
0 commit comments