diff --git a/handlers/GoogleSheetsModule.cs b/handlers/GoogleSheetsModule.cs index b7d42da..60b7fe2 100644 --- a/handlers/GoogleSheetsModule.cs +++ b/handlers/GoogleSheetsModule.cs @@ -92,7 +92,7 @@ private static void ReadEntries() { if (values.IndexOf(row) == 0) continue; string nick = ""; - if (row.Count > 3) + if (row.Count > 4) nick = row[4].ToString().Trim(); if (gridRow > values.Count - 1) { break; } bool accepted = false; @@ -114,6 +114,10 @@ private static void ReadEntries() } } } + catch (Exception ex) + { + Program.logError(ex.Message + ex.StackTrace); + } if (discordAccountsList.ContainsKey(nick)) { gridRow += 1;