Skip to content

Commit

Permalink
Catching all the exception in a UGLY way
Browse files Browse the repository at this point in the history
  • Loading branch information
Favry Erwan committed Jun 5, 2015
1 parent 27d1593 commit cd4cc10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public partial class Form1 : Form
private Boolean boolIpseityFoundOnStart;
private Boolean boolPrologFoundOnStart;
private String stringCurrentDirectory;

public Form1()
{
InitializeComponent();
Expand Down Expand Up @@ -63,6 +63,10 @@ private void Form1_Load(object sender, EventArgs e)
{
MessageBox.Show("The launcher does not have enough right to access the current directory" + ex.ToString());
}
catch (Exception generalEx)
{
MessageBox.Show("Something really bad happened an exception was raised" + generalEx.ToString());
}
}

/// <summary>
Expand Down

0 comments on commit cd4cc10

Please sign in to comment.