We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd2018 commit 2d9d845Copy full SHA for 2d9d845
test/test.cpp
@@ -25,13 +25,14 @@ ds3_client* get_client() {
25
26
ds3_error* error = ds3_create_client_from_env(&client);
27
28
- ds3_client_register_logging(client, INFO, test_log, NULL);
29
-
30
if (error != NULL) {
31
fprintf(stderr, "Failed to construct ds3_client from enviornment variables: %s\n", error->message->value);
32
- exit(1);
+ ds3_free_error(error);
+ BOOST_FAIL("Failed to setup client.");
33
}
34
+ ds3_client_register_logging(client, INFO, test_log, NULL);
35
+
36
return client;
37
38
0 commit comments