Permalink
Browse files

Add additional error log to ttt_sql

  • Loading branch information...
Bara committed May 15, 2018
1 parent 760073d commit 1cc82400bf1fe52f5af73936b19ac82f06ffd755
Showing with 2 additions and 0 deletions.
  1. +2 −0 addons/sourcemod/scripting/ttt/ttt_sql.sp
@@ -119,6 +119,8 @@ void SQL_Start()
if (!SQL_CheckConfig(sEntry) && g_iRetries < g_cRetries.IntValue)
{
LogError("(SQL_Start) Couldn't find an \"%s\"-entry in your databases.cfg...", sEntry);
char sError[255];
g_dDatabase = SQL_Connect(sEntry, true, sError, sizeof(sError));

0 comments on commit 1cc8240

Please sign in to comment.