Display install_app exceptions raised during action queuing
This commit is contained in:
parent
571e641787
commit
5265b31504
@ -199,7 +199,6 @@ class WSGIApp:
|
||||
if app in pending_actions:
|
||||
# Display queued or currently processed actions
|
||||
app_queue = pending_actions[app]
|
||||
if app_queue.index:
|
||||
if app_queue.exception:
|
||||
# Display failed task
|
||||
if isinstance(app_queue.exception, InvalidSignature):
|
||||
@ -213,7 +212,7 @@ class WSGIApp:
|
||||
status = lang.package_manager_error()
|
||||
status = f'<span class="error">{status}<span> <a href="#" class="app-clear-status">OK</a>'
|
||||
actions = None
|
||||
else:
|
||||
elif app_queue.index:
|
||||
# Display task/subtask progress
|
||||
action_item = app_queue.queue[app_queue.index-1]
|
||||
if action_item.type in (ActionItemType.IMAGE_DOWNLOAD, ActionItemType.APP_DOWNLOAD):
|
||||
|
Loading…
Reference in New Issue
Block a user