From 037afe8373b6d2cfcdc64f9f7ab31d94898cf49c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 8 May 2024 20:46:58 +0100 Subject: [PATCH] fix compile with new npgsql --- OpenSim/Data/PGSQL/PGSQLSimulationData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Data/PGSQL/PGSQLSimulationData.cs b/OpenSim/Data/PGSQL/PGSQLSimulationData.cs index 1578a991c2..48137b2fca 100755 --- a/OpenSim/Data/PGSQL/PGSQLSimulationData.cs +++ b/OpenSim/Data/PGSQL/PGSQLSimulationData.cs @@ -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; } }