Handle promise rejection exceptions from actionSheet (#6817)
* Add catches to jellyfin * Undo format changes to actionSheet * formatting * Remove logging * commented block for screenshot * Handle another case * weird indentation fix * Add myself as a contributor
This commit is contained in:
@@ -175,8 +175,9 @@ export default function (view, params) {
|
||||
|
||||
case 'delete':
|
||||
deleteServer(server);
|
||||
break;
|
||||
}
|
||||
});
|
||||
}).catch(() => { /* no-op */ });
|
||||
}
|
||||
|
||||
function onServersRetrieved(result) {
|
||||
@@ -221,4 +222,3 @@ export default function (view, params) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user