Browse Source

Remove unused exception handler

Resolves a CS0168
pull/138/head
Christopher F 9 years ago
parent
commit
a6d6c56aa8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/ReflectionUtils.cs

+ 1
- 1
src/Discord.Net.Commands/ReflectionUtils.cs View File

@@ -30,7 +30,7 @@ namespace Discord.Commands
else
throw new InvalidOperationException($"Could not find a valid constructor for \"{typeInfo.FullName}\" (Invalid Parameter Type: \"{parameter.ParameterType.FullName}\")");
}
catch (Exception e)
catch
{
throw new InvalidOperationException($"Could not find a valid constructor for \"{typeInfo.FullName}\" (Error invoking constructor)");
}


Loading…
Cancel
Save