identity: send email even if gpg signing fails

This commit is contained in:
Abdullah Atta
2024-05-16 13:20:26 +05:00
parent abac61e03d
commit 0ce5b69f91
@@ -231,8 +231,9 @@ namespace Streetwriters.Identity.Services
return builder.ToMessageBody();
}
}
catch (PrivateKeyNotFoundException)
catch (Exception ex)
{
await Slogger<EmailSender>.Error("GetEmailBodyAsync", ex.ToString());
return builder.ToMessageBody();
}
}