summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-instances.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-instances.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-instances.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-instances.c b/src/backend/taler-merchant-httpd_private-post-instances.c
index 0fec4494..19d6b80d 100644
--- a/src/backend/taler-merchant-httpd_private-post-instances.c
+++ b/src/backend/taler-merchant-httpd_private-post-instances.c
@@ -190,7 +190,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_BAD_REQUEST,
TALER_EC_POST_INSTANCES_BAD_CURRENCY,
- "Max deposit fee or max wire fee currency incompatible with config");
+ NULL);
}
{
@@ -241,7 +241,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_CONFLICT,
TALER_EC_POST_INSTANCES_ALREADY_EXISTS,
- "An instance using this identifier already exists");
+ is.id);
}
}
}
@@ -339,7 +339,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_BAD_REQUEST,
TALER_EC_POST_INSTANCES_BAD_PAYTO_URIS,
- "Invalid bank account information");
+ NULL);
}
}
@@ -370,7 +370,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_POST_INSTANCES_DB_START_ERROR,
- "failed to start database transaction");
+ NULL);
}
qs = TMH_db->insert_instance (TMH_db->cls,
&mi->merchant_pub,
@@ -425,7 +425,7 @@ retry:
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_POST_INSTANCES_DB_COMMIT_ERROR,
- "failed to add instance to database");
+ NULL);
}
/* Finally, also update our running process */
GNUNET_assert (GNUNET_OK ==