Simplify exception

This commit is contained in:
Finite Reality
2016-07-21 02:49:27 +01:00
parent 39d8e3c159
commit b546ba919b

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);
}
}
}