()
| 318 | } |
| 319 | |
| 320 | get postgresClientKey(): string | undefined { |
| 321 | if (!this._config.pgKey) { |
| 322 | return undefined; |
| 323 | } |
| 324 | |
| 325 | try { |
| 326 | return getFileContent(this._config.pgKey, 'postgres client key'); |
| 327 | } catch (e: any) { |
| 328 | logger.error(e, 'Unable to get postgres client key'); |
| 329 | throw e; |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | get postgresClientCert(): string | undefined { |
| 334 | if (!this._config.pgCert) { |
nothing calls this directly
no test coverage detected