Values in the kvstore are raw byte arrays, not strings.
[bluesky.git] / bluesky / s3store.c
index 336afc2..ccf0878 100644 (file)
@@ -68,14 +68,11 @@ static void s3store_response_callback(S3Status status,
 {
     struct get_info *info = (struct get_info *)callbackData;
 
-    g_print("S3 operation complete, status=%s, now=%ld\n",
-            S3_get_status_name(status), bluesky_now_hires());
-
     if (status == 0) {
         info->success = 1;
     }
 
-    if (errorDetails != NULL) {
+    if (errorDetails != NULL && errorDetails->message != NULL) {
         g_print("  Error message: %s\n", errorDetails->message);
     }
 }