about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-08-23 23:09:44 +0100
committerJames Booth <boothj5@gmail.com>2015-08-23 23:09:44 +0100
commitb1ab4b28545de482106315722c47e0fb741a275e (patch)
tree3ee2db64e1f5f854ec19863bbad914e751c5897d /src
parent8501d1db33e78f0fc19efb1d6b36915ca5ad2c7e (diff)
downloadprofani-tty-b1ab4b28545de482106315722c47e0fb741a275e.tar.gz
Added JID to log when failing to load PGP fingerprint
Added PGP stub for tests
Diffstat (limited to 'src')
-rw-r--r--src/pgp/gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c
index be35bb3a..81462f80 100644
--- a/src/pgp/gpg.c
+++ b/src/pgp/gpg.c
@@ -153,7 +153,7 @@ p_gpg_on_connect(const char * const barejid)
             error = gpgme_get_key(ctx, keyid, &key, 1);
             g_free(keyid);
             if (error || key == NULL) {
-                log_error("GPG: Failed to get key. %s %s", gpgme_strsource(error), gpgme_strerror(error));
+                log_warning("GPG: Failed to get key for %s: %s %s", jid, gpgme_strsource(error), gpgme_strerror(error));
                 continue;
             }