Fix bad constraint checking in patch builder

This commit is contained in:
Timothy Baldridge 2021-01-09 11:26:25 -07:00
parent b272f9edcd
commit 019bd9282b

View File

@ -57,7 +57,7 @@ namespace Wabbajack.Common
}
catch (SQLiteException ex)
{
if (!ex.Message.StartsWith("constraint exception"))
if (!ex.Message.StartsWith("constraint failed"))
throw;
}
await patch.CopyToAsync(output);
@ -109,7 +109,7 @@ namespace Wabbajack.Common
}
catch (SQLiteException ex)
{
if (!ex.Message.StartsWith("constraint exception"))
if (!ex.Message.StartsWith("constraint failed"))
throw;
}