embedded-postgres icon indicating copy to clipboard operation
embedded-postgres copied to clipboard

Add error info when 'unable to init db'

Open dor-utila opened this issue 2 years ago • 0 comments

Currently, I get this error, without any useful information:

panic: localpg: failed to start PgSQL: unable to init database using: /tmp/go_embedded_pgsql_binaries_3773798719/bin/initdb -A password -U username -D /tmp/go_embedded_pgsql_runtime_2105005878/data --pwfile=/tmp/go_embedded_pgsql_runtime_2105005878/pwfile --locale=en_US.UTF-8

dor-utila avatar Jul 06 '22 16:07 dor-utila