Browse Source

Simplify exception

pull/139/head
Finite Reality 9 years ago
parent
commit
b546ba919b
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

@@ -64,7 +64,7 @@ namespace Discord.Commands
}
catch (Exception ex)
{
throw new InvalidOperationException($"Could not find a valid constructor for \"{typeInfo.FullName}\" (Error invoking constructor)", ex);
throw new InvalidOperationException($"Could not create \"{typeInfo.FullName}\"", ex);
}
}
}


Loading…
Cancel
Save