diff options
author | James Booth <boothj5@gmail.com> | 2015-08-23 23:09:44 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-08-23 23:09:44 +0100 |
commit | b1ab4b28545de482106315722c47e0fb741a275e (patch) | |
tree | 3ee2db64e1f5f854ec19863bbad914e751c5897d /src | |
parent | 8501d1db33e78f0fc19efb1d6b36915ca5ad2c7e (diff) | |
download | profani-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.c | 2 |
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; } |