mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
[debug] codeintel: print stderr of pg_dump (#38803)
This commit is contained in:
parent
79220eb190
commit
76342deaed
@ -103,7 +103,7 @@ func monitor(ctx context.Context, repoNames []string, uploads []uploadMeta) erro
|
||||
|
||||
out, err := exec.Command("pg_dump", "-a", "--column-inserts", "--table='lsif_uploads*'").CombinedOutput()
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to dump: %s", err.Error())
|
||||
fmt.Printf("Failed to dump: %s\n%s", err.Error(), out)
|
||||
} else {
|
||||
fmt.Printf("DUMP:\n\n%s\n\n\n", out)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user