Changed Exception catch types. Removed trying to insert to ID field

This commit is contained in:
Twitchy 2011-07-12 19:36:17 +12:00
parent 236cf6b42b
commit b74455433e
6 changed files with 27 additions and 28 deletions

View file

@ -62,7 +62,7 @@ namespace TShockAPI.DB
}
}
}
catch (SqliteExecutionException ex)
catch (Exception ex)
{
Log.Error(ex.ToString());
}
@ -87,7 +87,7 @@ namespace TShockAPI.DB
}
}
}
catch (SqliteExecutionException ex)
catch (Exception ex)
{
Log.Error(ex.ToString());
}
@ -108,7 +108,7 @@ namespace TShockAPI.DB
}
return true;
}
catch (SqliteExecutionException ex)
catch (Exception ex)
{
Log.Error(ex.ToString());
}
@ -127,7 +127,7 @@ namespace TShockAPI.DB
return true;
}
}
catch (SqliteExecutionException ex)
catch (Exception ex)
{
Log.Error(ex.ToString());
}
@ -144,7 +144,7 @@ namespace TShockAPI.DB
return true;
}
}
catch (SqliteExecutionException ex)
catch (Exception ex)
{
Log.Error(ex.ToString());
}