Skip to content

Commit

Permalink
Better error dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
MinecraftZuriki committed Apr 30, 2018
1 parent 184ff37 commit 4f6ccf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/launcher.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def launchMinecraft(ipaddr, port, version, mppass):
sys.exit() sys.exit()
except FileNotFoundError: except FileNotFoundError:
errorDialog("Unable to find configuration file,\n\nprogram may not have been installed properly.") errorDialog("Unable to find configuration file,\n\nprogram may not have been installed properly.")
except: except Exception as ex:
errorDialog("Encountered unspecified error.") errorDialog("Encountered error:\n\n" + ex)
#end try #end try
#end def #end def


Expand Down

0 comments on commit 4f6ccf9

Please sign in to comment.