diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs index 6d4807ff40..4f113a2f49 100644 --- a/OpenSim/Data/Migration.cs +++ b/OpenSim/Data/Migration.cs @@ -150,9 +150,9 @@ namespace OpenSim.Data { cmd.ExecuteNonQuery(); } - catch + catch(Exception e) { - throw new Exception(sql); + throw new Exception(e.Message + " in SQL: " + sql); } } }