Browse Source

Fix overdue TODO

pull/1392/head
Joe4evr 6 years ago
parent
commit
1f03c32b79
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/Discord.Net.Commands/Readers/NamedArgumentTypeReader.cs

+ 1
- 2
src/Discord.Net.Commands/Readers/NamedArgumentTypeReader.cs View File

@@ -41,8 +41,7 @@ namespace Discord.Commands
} }
catch (Exception ex) catch (Exception ex)
{ {
//TODO: use the Exception overload after a rebase on latest
return TypeReaderResult.FromError(CommandError.Exception, ex.Message);
return TypeReaderResult.FromError(ex);
} }
} }




Loading…
Cancel
Save