Skip to content

Commit ac3d620

Browse files
committed
Snowflake Mobile: Update update_manifest to throw error message (Close #104)
1 parent fb495e9 commit ac3d620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile/v1/snowflake/sql-runner/sql/standard/00-setup/01-main/01-stored-procedures.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ CREATE OR REPLACE PROCEDURE {{.output_schema}}.update_manifest(MODULE VARCHAR)
6868
dmls = [users_manifest_delete, users_manifest_insert, users_manifest_truncate];
6969
}
7070
else {
71-
return "No manifest updated. Pass either 'base' or 'users' to update the manifests within that module";
71+
throw "No manifest updated. Pass either 'base' or 'users' to update the manifests within that module";
7272
}
7373

7474
snowflake.createStatement({sqlText: `BEGIN;`}).execute();

0 commit comments

Comments
 (0)