From 043685147f04bf42465dd77497e91d3226895d52 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Wed, 18 Dec 2024 02:30:34 +0200 Subject: [PATCH] Handle errors in generate_certs --- testsetup/generate_certs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsetup/generate_certs.go b/testsetup/generate_certs.go index 945c6c5e2..f285549a5 100644 --- a/testsetup/generate_certs.go +++ b/testsetup/generate_certs.go @@ -106,12 +106,12 @@ func main() { panic(err) } - writeEncryptedPrivateKey("pgx_sslcert.key", clientCertPrivKey, "certpw") + err = writeEncryptedPrivateKey("pgx_sslcert.key", clientCertPrivKey, "certpw") if err != nil { panic(err) } - writeCertificate("pgx_sslcert.crt", clientBytes) + err = writeCertificate("pgx_sslcert.crt", clientBytes) if err != nil { panic(err) }