mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #4693] [CLOSED] Safer startup. #10051
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#10051
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4693
Author: @BaronGreenback
Created: 12/6/2020
Status: ❌ Closed
Base:
master← Head:startupFix📝 Commits (3)
02ca75fUpdate ApplicationHost.cs3652e95Made it compile.e959a89Update Emby.Server.Implementations/ApplicationHost.cs📊 Changes
1 file changed (+21 additions, -2 deletions)
View changed files
📝
Emby.Server.Implementations/ApplicationHost.cs(+21 -2)📄 Description
It looks like it would be possible for a plugin to crash the system by generating an exception in their IServerEntryPoint implementation.
All methods are executed by a Task.WhenAll. According to the docs, this only reports the last error generated, and if i'm reading the code right, would crash.
This PR introduces another exception catching layer between the two. This should enable failed plugins to log exceptions without a crashing occurring.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.