diff --git a/src/cpp/client/secure_credentials.cc b/src/cpp/client/secure_credentials.cc
index c0dfaef3a5371782116ce18c939f294758f981c4..f035503166114e759afa0b75d10e97f98832a3d2 100644
--- a/src/cpp/client/secure_credentials.cc
+++ b/src/cpp/client/secure_credentials.cc
@@ -100,7 +100,8 @@ std::unique_ptr<Credentials> ServiceAccountCredentials(
     std::chrono::seconds token_lifetime) {
   if (token_lifetime.count() <= 0) {
     gpr_log(GPR_ERROR,
-            "Trying to create JWTCredentials with non-positive lifetime");
+            "Trying to create ServiceAccountCredentials "
+            "with non-positive lifetime");
     return WrapCredentials(nullptr);
   }
   gpr_timespec lifetime = gpr_time_from_seconds(token_lifetime.count());