Skip to content

Commit 8d4359a

Browse files
author
Mayur Rathi
committed
CodeRabbit Suggestions
1 parent 7bf4492 commit 8d4359a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Ginger/GingerCoreNET/Database/DatabaseOperations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,12 +574,12 @@ public async Task<List<string>> GetTablesListAsync(string Keyspace = null)
574574
break;
575575

576576
default:
577-
throw new Exception("Unhandled database type: " + Database.DBType.ToString());
577+
throw new Exception("Unhandled database type: " + Database.DBType);
578578
}
579579
}
580580
catch (Exception e)
581581
{
582-
Reporter.ToLog(eLogLevel.ERROR, "Failed to get table list for DB:" + Database.DBType.ToString(), e);
582+
Reporter.ToLog(eLogLevel.ERROR, "Failed to get table list for DB:" + Database.DBType, e);
583583
throw;
584584
}
585585
}

0 commit comments

Comments
 (0)