fix compile with new npgsql

This commit is contained in:
UbitUmarov
2024-05-08 20:46:58 +01:00
parent 264e5f8cbe
commit 037afe8373

View File

@@ -278,7 +278,7 @@ namespace OpenSim.Data.PGSQL
}
catch (NpgsqlException sqlEx)
{
_Log.ErrorFormat("[REGION DB]: Store SceneObjectPrim SQL error: {0} at line {1}", sqlEx.Message, sqlEx.Line);
_Log.Error($"[REGION DB]: Store SceneObjectPrim SQL error: {sqlEx.Message}");
throw;
}
}
@@ -293,7 +293,7 @@ namespace OpenSim.Data.PGSQL
}
catch (NpgsqlException sqlEx)
{
_Log.ErrorFormat("[REGION DB]: Store SceneObjectPrimShapes SQL error: {0} at line {1}", sqlEx.Message, sqlEx.Line);
_Log.Error($"[REGION DB]: Store SceneObjectPrimShapes SQL error: {sqlEx.Message}");
throw;
}
}