aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2018-12-30 15:25:08 +0100
committerBond_009 <bond.009@outlook.com>2018-12-30 15:27:31 +0100
commit76d3f60f0664529bb80a24fb225f6091619c3564 (patch)
tree94a13d2d2a942e29967b4d7a8fd2ff24ca1298e1 /Emby.Server.Implementations
parent69cf9e8fc4bc7b20a3d2df15877bc214ce726579 (diff)
Fix NullRefException
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/LiveTv/LiveTvManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
index 4e3cfe5df..d57f7e8cc 100644
--- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -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)
);
}