mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Fixing misleading error message
This commit is contained in:
parent
f239dae8b3
commit
ab6223a014
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ namespace ICD.Common.Services
|
|||
|
||||
if (m_Services.ContainsKey(tService))
|
||||
{
|
||||
string message = string.Format(string.Format("{0} already contains a {0} service", GetType().Name, tService.Name));
|
||||
string message = string.Format("{0} already contains a {1} service", GetType().Name, tService.Name);
|
||||
throw new InvalidOperationException(message);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue