Skip to content

Commit 15bed19

Browse files
committed
simpler erroring
1 parent 63f5786 commit 15bed19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/system_database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2468,7 +2468,7 @@ func (s *sysDB) resetSystemDB(ctx context.Context) error {
24682468
// Connect to the postgres database
24692469
conn, err := pgx.ConnectConfig(ctx, postgresConfig)
24702470
if err != nil {
2471-
return fmt.Errorf("failed to connect to PostgreSQL server: %w", err)
2471+
return err
24722472
}
24732473
defer conn.Close(ctx)
24742474

0 commit comments

Comments
 (0)