From ce899d7f51975e6ac86d9350a9e90205f21914dd Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 26 Mar 2024 15:18:28 -0600 Subject: About to start something new --- src/view/app.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/view/app.py') diff --git a/src/view/app.py b/src/view/app.py index 587b9e9..4d4d400 100644 --- a/src/view/app.py +++ b/src/view/app.py @@ -8,6 +8,7 @@ from kivy.uix.label import Label from kivy import platform import threading +import traceback from model.youload_playlist import YouLoadPlayList from view.file_chooser import YouloadFileChooser @@ -135,14 +136,18 @@ class YouloadApp(App): except FileExistsError as e: self.download_status.text = "Folder already exists" self.downloads_display.text = repr(e) + self.downloads_display.text += "\n" + traceback.format_exc() except KeyError as e: self.download_status.text = "Error getting playlist" self.downloads_display.text = repr(e) + self.downloads_display.text += "\n" + traceback.format_exc() except AttributeError as e: self.download_status.text = "Download type not supported" self.downloads_display.text = repr(e) + self.downloads_display.text += "\n" + traceback.format_exc() except Exception as e: self.downloads_display.text = repr(e) + self.downloads_display.text += "\n" + traceback.format_exc() self.submit.text = "Download" self.is_downloading = False -- cgit v1.2.3