Fix NullRefException

This commit is contained in:
Bond_009 2018-12-30 15:25:08 +01:00
parent 69cf9e8fc4
commit 76d3f60f06
2 changed files with 4 additions and 3 deletions

View file

@ -530,7 +530,7 @@ namespace Emby.Dlna
};
}
}
/*
class DlnaProfileEntryPoint : IServerEntryPoint
{
private readonly IApplicationPaths _appPaths;
@ -596,5 +596,6 @@ namespace Emby.Dlna
public void Dispose()
{
}
}
}*/
}

View file

@ -2400,7 +2400,7 @@ namespace Emby.Server.Implementations.LiveTv
if (provider == null)
{
throw new ResourceNotFoundException(
string.Format("Couldn't find provider with name: '{0}' of type: '{1}'", provider.Name, provider.Type)
string.Format("Couldn't find provider of type: '{0}'", info.Type)
);
}