Skip to content

Commit 178298f

Browse files
authored
Adding logging in getTestMatrix FTL api call (#81)
* Adding logging in getTestMatrix FTL api call * adding testmatrixId to log
1 parent bb51ed3 commit 178298f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AndroidXCI/lib/src/main/kotlin/dev/androidx/ci/testRunner/FirebaseTestLabController.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,16 @@ internal class FirebaseTestLabController(
166166
suspend fun getTestMatrix(
167167
testMatrixId: String
168168
): TestMatrix? {
169+
logger.info("Calling getTestMatrix in FTL on $testMatrixId")
169170
return try {
170171
firebaseTestLabApi.getTestMatrix(
171172
projectId = firebaseProjectId,
172173
testMatrixId = testMatrixId
173174
)
174175
} catch (httpException: HttpException) {
176+
logger.error(httpException) {
177+
"FTL getTestMatrix call for $testMatrixId ran into issues"
178+
}
175179
if (httpException.code() == 404) {
176180
return null
177181
}

0 commit comments

Comments
 (0)