Skip to content

Commit 8b60b3d

Browse files
misc: disable exit-on-error option
1 parent 929cf16 commit 8b60b3d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/restore.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ func NewRestore(ctx context.Context, targetDatabase string) (*RestoreProcess, er
139139
argument := []string{
140140
"--format", "custom",
141141
"--host", config.Loaded.Postgres.Host,
142-
"--clean", // Clean (drop) database objects before recreating them
143-
"--create", // Create the database before restoring into it
144-
"--exit-on-error", // Exit on error, don't try to continue
142+
"--clean", // Clean (drop) database objects before recreating them
143+
"--create", // Create the database before restoring into it
144+
// "--exit-on-error", // Exit on error, don't try to continue
145145
"--no-owner", // Skip restoration of object ownership
146146
"--no-privileges", // Skip restoration of access privileges (grant/revoke commands)
147147
"--verbose", // Verbose mode for detailed output

0 commit comments

Comments
 (0)