diff options
-rw-r--r-- | OpenSim/Data/Migration.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs index 6d4807f..4f113a2 100644 --- a/OpenSim/Data/Migration.cs +++ b/OpenSim/Data/Migration.cs | |||
@@ -150,9 +150,9 @@ namespace OpenSim.Data | |||
150 | { | 150 | { |
151 | cmd.ExecuteNonQuery(); | 151 | cmd.ExecuteNonQuery(); |
152 | } | 152 | } |
153 | catch | 153 | catch(Exception e) |
154 | { | 154 | { |
155 | throw new Exception(sql); | 155 | throw new Exception(e.Message + " in SQL: " + sql); |
156 | } | 156 | } |
157 | } | 157 | } |
158 | } | 158 | } |