Adds a whole bunch of SQL logging

This commit is contained in:
Twitchy 2011-07-11 20:31:25 +12:00
parent 6d1bea3577
commit b5ca97ae35
5 changed files with 20 additions and 4 deletions

View file

@ -63,6 +63,7 @@ namespace TShockAPI.DB
}
catch (SqliteExecutionException ex)
{
Log.Error(ex.ToString());
}
return false;
}
@ -82,6 +83,7 @@ namespace TShockAPI.DB
}
catch (SqliteExecutionException ex)
{
Log.Error(ex.ToString());
}
return false;
}
@ -104,6 +106,7 @@ namespace TShockAPI.DB
}
catch (SqliteExecutionException ex)
{
Log.Error(ex.ToString());
}
return new Warp();
}
@ -125,6 +128,7 @@ namespace TShockAPI.DB
}
catch (SqliteExecutionException ex)
{
Log.Error(ex.ToString());
}
return Warps;
}