if (header == NULL)
return;
- fprintf(stderr, "%s\n", header->value);
+ debug_printf(ERROR, header->value);
}
void _kds_s2000w_client_print_error_result(CURLcode result)
if (result == CURLE_OK)
return;
- fprintf(stderr, "ERROR: curl_easy_perform: %s\n", curl_easy_strerror(result));
+ debug_printf(ERROR, curl_easy_strerror(result));
}
void _kds_s2000w_client_stream_to_response(char* mem, response* resp, size_t* size)
Image* input_image = BlobToImage(image_info, in->data, in->size , exception);
if (exception->severity != UndefinedException) {
- fprintf(stderr, "%s\n", GetExceptionMessage(exception->error_number));
+ debug_printf(ERROR, GetExceptionMessage(exception->error_number));
CatchException(exception);
}
Image* input_image = BlobToImage(image_info, image->data, image->size , exception);
if (exception->severity != UndefinedException) {
- fprintf(stderr, "%s\n", GetExceptionMessage(exception->error_number));
+ debug_printf(ERROR, GetExceptionMessage(exception->error_number));
CatchException(exception);
}