Skip to content

Commit

Permalink
Don't migrate on failed config load
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Apr 3, 2024
1 parent 714fed1 commit 9190605
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/apps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ impl<R: Runner> Apps<R> {
version,
data.version_string,
data.status(),
migrations::MIGRATORS,
// No migrations if the config failed to load. In that case applications are disabled anyways
&[],
)
});

Expand Down

0 comments on commit 9190605

Please sign in to comment.