Remove custom migration exception

This was hiding the true error message from ever hitting logs.
Made to help disagnose #2711.
This commit is contained in:
Dean Herbert 2018-06-15 13:38:42 +09:00
parent af4d4b529f
commit 4a19f22b3d

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();
}
}