Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf committed Dec 2, 2024
1 parent b98effc commit d113ba4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import java.net.URLEncoder;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
Expand Down Expand Up @@ -94,7 +95,7 @@ static BigtableChannelPrimer create(
URLEncoder.encode(request.getName(), "UTF-8"),
URLEncoder.encode(request.getAppProfileId(), "UTF-8")));
} catch (UnsupportedEncodingException e) {
LOG.warning(String.format("failed to encode request params %s", e));
LOG.log(Level.WARNING, "Failed to encode request params", e);
}
}

Expand Down

0 comments on commit d113ba4

Please sign in to comment.