mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-02 18:47:18 -05:00 
			
		
		
		
	update startup error handling
This commit is contained in:
		
							parent
							
								
									6647ff335f
								
							
						
					
					
						commit
						1c72fcd17f
					
				@ -252,15 +252,7 @@ namespace MediaBrowser.Common.Implementations
 | 
				
			|||||||
            var innerProgress = new ActionableProgress<double>();
 | 
					            var innerProgress = new ActionableProgress<double>();
 | 
				
			||||||
            innerProgress.RegisterAction(p => progress.Report(.8 * p + 15));
 | 
					            innerProgress.RegisterAction(p => progress.Report(.8 * p + 15));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            try
 | 
					            await RegisterResources(innerProgress).ConfigureAwait(false);
 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                await RegisterResources(innerProgress).ConfigureAwait(false);
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
            catch (Exception ex)
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                Logger.ErrorException("Error in RegisterResource", ex);
 | 
					 | 
				
			||||||
                throw;
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
            FindParts();
 | 
					            FindParts();
 | 
				
			||||||
            progress.Report(95);
 | 
					            progress.Report(95);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user