diff --git a/src/Discord.Net.Commands/CommandServiceConfig.cs b/src/Discord.Net.Commands/CommandServiceConfig.cs
index b0925e28d..5dcd50cd8 100644
--- a/src/Discord.Net.Commands/CommandServiceConfig.cs
+++ b/src/Discord.Net.Commands/CommandServiceConfig.cs
@@ -12,10 +12,7 @@
/// Gets or sets the minimum log level severity that will be sent to the Log event.
public LogSeverity LogLevel { get; set; } = LogSeverity.Info;
- ///
- /// Gets or sets whether RunMode.Sync commands should push exceptions up to the caller.
- /// If false or an RunMode.Async command, exceptions are only reported in the Log event.
- ///
+ /// Gets or sets whether RunMode.Sync commands should push exceptions up to the caller.
public bool ThrowOnError { get; set; } = true;
}
-}
+}
\ No newline at end of file
diff --git a/src/Discord.Net.Commands/Dependencies/DependencyMap.cs b/src/Discord.Net.Commands/Dependencies/DependencyMap.cs
index c24b9db91..5b4f44fb9 100644
--- a/src/Discord.Net.Commands/Dependencies/DependencyMap.cs
+++ b/src/Discord.Net.Commands/Dependencies/DependencyMap.cs
@@ -50,9 +50,7 @@ namespace Discord.Commands
public bool TryAddFactory(Func factory) where T : class
{
var type = typeof(T);
- if (_typeBlacklist.Contains(type))
- throw new InvalidOperationException($"{type.FullName} is used internally and cannot be added as a dependency");
- if (map.ContainsKey(type))
+ if (_typeBlacklist.Contains(type) || map.ContainsKey(type))
return false;
map.Add(type, factory);
return true;