mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-13 16:18:22 +02:00
added return when exception is raise in nothread_use_path so that "do everything" process stop when an error is occuring
This commit is contained in:
parent
cf8d1bb20e
commit
4758e6ae88
1 changed files with 4 additions and 0 deletions
|
@ -119,12 +119,16 @@ class Gui:
|
|||
self.frame_action.grid(row=3, column=1, sticky="NEWS")
|
||||
except RomAlreadyPatched:
|
||||
messagebox.showerror(self.translate("Error"), self.translate("This game is already modded"))
|
||||
raise RomAlreadyPatched
|
||||
except InvalidGamePath:
|
||||
messagebox.showerror(self.translate("Error"), self.translate("The file path in invalid"))
|
||||
raise InvalidGamePath
|
||||
except InvalidFormat:
|
||||
messagebox.showerror(self.translate("Error"), self.translate("This game's format is invalid"))
|
||||
raise InvalidFormat
|
||||
except:
|
||||
self.log_error()
|
||||
raise Exception
|
||||
finally:
|
||||
self.progress(show=False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue