Handle errors in generate_certs

pull/2198/head
Oleksandr Redko 2024-12-18 02:30:34 +02:00
parent ad87d47089
commit 043685147f
1 changed files with 2 additions and 2 deletions

View File

@ -106,12 +106,12 @@ func main() {
panic(err) panic(err)
} }
writeEncryptedPrivateKey("pgx_sslcert.key", clientCertPrivKey, "certpw") err = writeEncryptedPrivateKey("pgx_sslcert.key", clientCertPrivKey, "certpw")
if err != nil { if err != nil {
panic(err) panic(err)
} }
writeCertificate("pgx_sslcert.crt", clientBytes) err = writeCertificate("pgx_sslcert.crt", clientBytes)
if err != nil { if err != nil {
panic(err) panic(err)
} }