Skip to content

Commit b8b682a

Browse files
committed
#174 only print userdetails failed call response if response exists
1 parent d8ab814 commit b8b682a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-app/services/au/org/ala/alerts/UserService.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class UserService {
138138
}
139139
}
140140
}
141-
} else {
141+
} else if (results && !results.success) {
142142
log.warn("Unsuccessful response from userdetails: {}", results)
143143
}
144144

0 commit comments

Comments
 (0)