1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Merge pull request #2810 from peppy/remove-migrate-exception

Remove custom migration exception
This commit is contained in:
Dan Balasescu 2018-06-15 17:34:46 +09:00 committed by GitHub
commit d7353135de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,24 +181,6 @@ namespace osu.Game.Database
}
}
public void Migrate()
{
try
{
Database.Migrate();
}
catch (Exception e)
{
throw new MigrationFailedException(e);
}
}
}
public class MigrationFailedException : Exception
{
public MigrationFailedException(Exception exception)
: base("sqlite-net migration failed", exception)
{
}
public void Migrate() => Database.Migrate();
}
}