mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 19:28:25 +02:00
some error weren't stopping the installation
This commit is contained in:
parent
d049000b78
commit
50d0a00bff
2 changed files with 8 additions and 4 deletions
|
@ -320,8 +320,10 @@ class Game:
|
||||||
|
|
||||||
messagebox.showinfo(self.gui.translate("End"), self.gui.translate("The mod have been installed !"))
|
messagebox.showinfo(self.gui.translate("End"), self.gui.translate("The mod have been installed !"))
|
||||||
|
|
||||||
except:
|
except Exception as e:
|
||||||
self.gui.log_error()
|
self.gui.log_error()
|
||||||
|
raise e
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
self.gui.progress(show=False)
|
self.gui.progress(show=False)
|
||||||
self.gui.quit()
|
self.gui.quit()
|
||||||
|
@ -495,8 +497,10 @@ class Game:
|
||||||
self.patch_autoadd()
|
self.patch_autoadd()
|
||||||
self.patch_tracks()
|
self.patch_tracks()
|
||||||
|
|
||||||
except:
|
except Exception as e:
|
||||||
self.gui.log_error()
|
self.gui.log_error()
|
||||||
|
raise e
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
self.gui.progress(show=False)
|
self.gui.progress(show=False)
|
||||||
|
|
||||||
|
|
|
@ -203,9 +203,9 @@ class Gui:
|
||||||
except InvalidFormat:
|
except InvalidFormat:
|
||||||
messagebox.showerror(self.translate("Error"), self.translate("This game's format is invalid"))
|
messagebox.showerror(self.translate("Error"), self.translate("This game's format is invalid"))
|
||||||
raise InvalidFormat
|
raise InvalidFormat
|
||||||
except:
|
except Exception as e:
|
||||||
self.log_error()
|
self.log_error()
|
||||||
raise Exception
|
raise e
|
||||||
finally:
|
finally:
|
||||||
self.progress(show=False)
|
self.progress(show=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue