diff --git a/CHANGES.rst b/CHANGES.rst index 7d58074..c1f060a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,7 @@ 0.4 (Unreleased) ================ +- If error occurs, don't crash GUI [#17] - Exclude log folder so pip builds successfully [#16] - Further fixes for link shortening [#15] diff --git a/nxbrew_dl/gui/gui_nxbrew_dl.py b/nxbrew_dl/gui/gui_nxbrew_dl.py index d01b07c..9748d55 100644 --- a/nxbrew_dl/gui/gui_nxbrew_dl.py +++ b/nxbrew_dl/gui/gui_nxbrew_dl.py @@ -500,6 +500,10 @@ def run(self): user_cache=self.user_cache, logger=self.logger, ) - nx.run() + + try: + nx.run() + except Exception as e: + self.logger.warning(e.args[0]) self.finished.emit()