1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00

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() public void Migrate() => Database.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)
{
}
} }
} }