summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index bcd5a7d..bf6ba51 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -387,7 +387,8 @@ plist_t tss_send_request(plist_t tss_request) {
}
if (status_code != 0) {
- error("ERROR: TSS request failed (status=%d)\n", status_code);
+ char* message = strstr(response->content, "MESSAGE=");
+ error("ERROR: TSS request failed (status=%d, message=%s)\n", status_code, message);
free(response->content);
free(response);
free(request);