Skip to content

Commit ea19fa6

Browse files
committed
fail fast on running into error when downgrading to berkeley
1 parent cd5ed65 commit ea19fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/archive/downgrade-to-berkeley.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ BEGIN
123123
EXCEPTION
124124
WHEN OTHERS THEN
125125
PERFORM set_migration_status('failed'::migration_status);
126-
RAISE NOTICE 'An error occurred: %', SQLERRM;
126+
RAISE EXCEPTION 'An error occurred: %', SQLERRM;
127127
END
128128
$$ LANGUAGE plpgsql;
129129

0 commit comments

Comments
 (0)