summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2015-03-04 20:35:17 +0100
committerTomas Babej <tbabej@redhat.com>2015-03-06 10:58:10 +0100
commit459f0a8401cf0fa4f7ba119646b797340c0a796c (patch)
tree3e4b42f6d6e8dec06d4fab79520da573a98493d6
parent5635d1bf439b636349ea4f02a2afc2bb97b11e99 (diff)
downloadfreeipa-459f0a8401cf0fa4f7ba119646b797340c0a796c.tar.gz
freeipa-459f0a8401cf0fa4f7ba119646b797340c0a796c.tar.xz
freeipa-459f0a8401cf0fa4f7ba119646b797340c0a796c.zip
p11helper: clarify error message
https://fedorahosted.org/freeipa/ticket/4657 Reviewed-By: Martin Basti <mbasti@redhat.com>
-rw-r--r--ipapython/ipap11helper/p11helper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipapython/ipap11helper/p11helper.c b/ipapython/ipap11helper/p11helper.c
index 3874c4dc1..eff49f590 100644
--- a/ipapython/ipap11helper/p11helper.c
+++ b/ipapython/ipap11helper/p11helper.c
@@ -237,7 +237,9 @@ int check_return_value(CK_RV rv, const char *message) {
(&errmsg, "Error at %s: 0x%x\n", message, (unsigned int) rv)
== -1) {
PyErr_SetString(ipap11helperError,
- "DOUBLE ERROR: Creating the error message caused an error");
+ "An error occured during error message generation. "
+ "Please report this problem. Developers will use "
+ "a crystal ball to find out the root cause.");
return 0;
}
if (errmsg != NULL) {