You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/azure/cosmos/examples/autoscaledatabasecrud/async/AutoscaleDatabaseCRUDQuickstartAsync.java
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ public static void main(String[] args) {
50
50
logger.info("Demo complete, please hold while resources are released");
51
51
} catch (Exceptione) {
52
52
e.printStackTrace();
53
-
logger.error(String.format("Cosmos getStarted failed with %s", e));
53
+
logger.error("Cosmos getStarted failed with {}", e);
54
54
} finally {
55
55
logger.info("Closing the client");
56
56
p.shutdown();
@@ -59,9 +59,9 @@ public static void main(String[] args) {
+ " with request charge of " + readAllDatabasesResponse.getRequestCharge());
116
+
logger.info("read {} database(s) with request charge of {}", readAllDatabasesResponse.getResults().size(), readAllDatabasesResponse.getRequestCharge());
119
117
120
118
for (CosmosDatabasePropertiesresponse : readAllDatabasesResponse.getResults()) {
0 commit comments