[PR #5551] [CLOSED] Catch plugin entry point exceptions #10555

Closed
opened 2026-02-07 06:22:25 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5551
Author: @crobibero
Created: 3/16/2021
Status: Closed

Base: masterHead: startup-exception


📝 Commits (1)

  • 4206222 Catch plugin entrypoint exceptions

📊 Changes

1 file changed (+15 additions, -1 deletions)

View changed files

📝 Emby.Server.Implementations/ApplicationHost.cs (+15 -1)

📄 Description

Found this while doing some testing

[18:27:33] [FTL] [1] Main: Error while starting server.
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Session.ISessionManager.add_PlaybackProgress(System.EventHandler`1<MediaBrowser.Controller.Library.PlaybackProgressEventArgs>)'.
   at Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler.RunAsync()
   at Emby.Server.Implementations.ApplicationHost.StartEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)+MoveNext() in C:\Users\Cody\Code\Jellyfin\jellyfin-master\Emby.Server.Implementations\ApplicationHost.cs:line 540
   at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
   at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync(CancellationToken cancellationToken) in C:\Users\Cody\Code\Jellyfin\jellyfin-master\Emby.Server.Implementations\ApplicationHost.cs:line 524
   at Jellyfin.Server.Program.StartApp(StartupOptions options) in C:\Users\Cody\Code\Jellyfin\jellyfin-master\Jellyfin.Server\Program.cs:line 206

Sadly this removes the yield return but we can't do that inside of a try..catch


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5551 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 3/16/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `startup-exception` --- ### 📝 Commits (1) - [`4206222`](https://github.com/jellyfin/jellyfin/commit/420622274eb2163c3c65941cff575f44d7a3b72f) Catch plugin entrypoint exceptions ### 📊 Changes **1 file changed** (+15 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/ApplicationHost.cs` (+15 -1) </details> ### 📄 Description Found this while doing some testing ``` [18:27:33] [FTL] [1] Main: Error while starting server. System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Session.ISessionManager.add_PlaybackProgress(System.EventHandler`1<MediaBrowser.Controller.Library.PlaybackProgressEventArgs>)'. at Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler.RunAsync() at Emby.Server.Implementations.ApplicationHost.StartEntryPoints(IEnumerable`1 entryPoints, Boolean isBeforeStartup)+MoveNext() in C:\Users\Cody\Code\Jellyfin\jellyfin-master\Emby.Server.Implementations\ApplicationHost.cs:line 540 at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks) at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync(CancellationToken cancellationToken) in C:\Users\Cody\Code\Jellyfin\jellyfin-master\Emby.Server.Implementations\ApplicationHost.cs:line 524 at Jellyfin.Server.Program.StartApp(StartupOptions options) in C:\Users\Cody\Code\Jellyfin\jellyfin-master\Jellyfin.Server\Program.cs:line 206 ``` Sadly this removes the `yield return` but we can't do that inside of a try..catch --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:22:25 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10555