Adds a whole bunch of SQL logging
This commit is contained in:
parent
6d1bea3577
commit
b5ca97ae35
5 changed files with 20 additions and 4 deletions
|
|
@ -59,6 +59,7 @@ namespace TShockAPI.DB
|
|||
}
|
||||
catch (SqliteExecutionException ex)
|
||||
{
|
||||
Log.Error(ex.ToString());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
@ -83,6 +84,7 @@ namespace TShockAPI.DB
|
|||
}
|
||||
catch (SqliteExecutionException ex)
|
||||
{
|
||||
Log.Error(ex.ToString());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
@ -103,6 +105,7 @@ namespace TShockAPI.DB
|
|||
}
|
||||
catch (SqliteExecutionException ex)
|
||||
{
|
||||
Log.Error(ex.ToString());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
@ -121,6 +124,7 @@ namespace TShockAPI.DB
|
|||
}
|
||||
catch (SqliteExecutionException ex)
|
||||
{
|
||||
Log.Error(ex.ToString());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
@ -137,6 +141,7 @@ namespace TShockAPI.DB
|
|||
}
|
||||
catch (SqliteExecutionException ex)
|
||||
{
|
||||
Log.Error(ex.ToString());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue