Skip to content

Commit

Permalink
Add correct error types
Browse files Browse the repository at this point in the history
  • Loading branch information
glatzert committed Jul 3, 2020
1 parent fa28c75 commit b4e5bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ACME.CertProvider.ACDS/CertificateIssuer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ public CertificateIssuer(IOptions<ACDSOptions> options)
}
else
{
result.Error = new AcmeError("TODO", "Certificate Issuance failed. Contact Administrator.");
result.Error = new AcmeError("serverInternal", "Certificate Issuance failed. Contact Administrator.");
}
} catch (Exception)
{
result.Error = new AcmeError("TODO", "Certificate Issuance failed. Contact Administrator");
result.Error = new AcmeError("serverInternal", "Certificate Issuance failed. Contact Administrator");
}

return Task.FromResult(result);
Expand Down

0 comments on commit b4e5bb1

Please sign in to comment.