summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/MainForm.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 40ebb2d..8f8bba0 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -91,11 +91,15 @@ namespace Aktywator
private Tournament detectTeamyTournament()
{
- string name = bws.getMySQLDatabaseForSection();
- if (name != null)
+ try
{
- return new TeamyTournament(name);
+ string name = bws.getMySQLDatabaseForSection();
+ if (name != null)
+ {
+ return new TeamyTournament(name);
+ }
}
+ catch (Exception e) { }
return null;
}