Skip to content

Commit

Permalink
Catch all exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
chamons committed May 19, 2022
1 parent 9f51ec9 commit 2597435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/nnyeah/nnyeah/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ static int Main (string [] args)
try {
Main2 (args);
return 0;
} catch (ConversionException c) {
Console.Error.WriteLine (c.Message);
} catch (Exception e) {
Console.Error.WriteLine (e.Message);
return 1;
}
}
Expand Down

0 comments on commit 2597435

Please sign in to comment.