fix: patch todo in NamedTypeReader (#1392)
This commit is contained in:
@@ -41,8 +41,7 @@ namespace Discord.Commands
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//TODO: use the Exception overload after a rebase on latest
|
||||
return TypeReaderResult.FromError(CommandError.Exception, ex.Message);
|
||||
return TypeReaderResult.FromError(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user