Skip to content

Commit 02fd1bb

Browse files
committed
- parser fix due to nested rethrow on BoxLang
1 parent 835e57a commit 02fd1bb

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

commands/migrate/reset.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ component extends="commandbox-migrations.models.BaseMigrationCommand" {
5858
len( e.detail ) ? e.detail : e.message,
5959
"#templateName##newline##variables.sqlHighlighter.highlight( variables.sqlFormatter.format( e.queryError ) ).toAnsi()#"
6060
);
61-
default:
62-
rethrow;
6361
}
62+
63+
rethrow;
6464
}
6565
}
6666

commands/migrate/seed/run.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ component extends="commandbox-migrations.models.BaseMigrationCommand" {
8686
len( e.detail ) ? e.detail : e.message,
8787
"#templateName##newline##variables.sqlHighlighter.highlight( variables.sqlFormatter.format( e.queryError ?: "" ) ).toAnsi()#"
8888
);
89-
default:
90-
rethrow;
9189
}
90+
91+
rethrow;
9292
}
9393

9494
if ( currentlyRunningSeeder == "UNKNOWN" ) {

commands/migrate/up.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ component extends="commandbox-migrations.models.BaseMigrationCommand" {
143143
len( e.detail ) ? e.detail : e.message,
144144
"#templateName##newline##variables.sqlHighlighter.highlight( variables.sqlFormatter.format( e.queryError ?: "" ) ).toAnsi()#"
145145
);
146-
default:
147-
throw( e )
148146
}
147+
148+
rethrow;
149149
}
150150

151151
if ( arguments.seed ) {

0 commit comments

Comments
 (0)