Skip to content

Commit 0906f5b

Browse files
committed
style: improve wording for logs in GetRemoteUserIdOperation
1 parent d9f4e27 commit 0906f5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/users/GetRemoteUserIdOperation.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ class GetRemoteUserIdOperation: RemoteOperation<String>() {
4343
val response = getMethod.getResponseBodyAsString()
4444

4545
if (status == HttpConstants.HTTP_OK) {
46-
Timber.d("Successful response $response")
46+
Timber.d("Successful response: $response")
4747

4848
val moshi: Moshi = Moshi.Builder().build()
4949
val adapter: JsonAdapter<GraphMeResponse> = moshi.adapter(GraphMeResponse::class.java)
5050

5151
result = RemoteOperationResult(ResultCode.OK)
5252
result.data = getMethod.getResponseBodyAsString().let { adapter.fromJson(it)!!.id }
5353

54-
Timber.d("Get User Id completed and parsed to ${result.data}")
54+
Timber.d("Get user id completed and parsed to ${result.data}")
5555
} else {
5656
result = RemoteOperationResult(getMethod)
57-
Timber.e("Failed response while getting user id status code: $status, response: $response")
57+
Timber.e("Failed response while getting user id; status code: $status, response: $response")
5858
}
5959
} catch (e: Exception) {
6060
result = RemoteOperationResult(e)

0 commit comments

Comments
 (0)