diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/app.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |