| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4968832 commit 611814c
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,6 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | 13 | ## Contributors | |
| 14 | 14 | ||
| 15 | + - Alexandre Catarino([@AlexCatarino](https://github.com/AlexCatarino)) | ||
| 15 | 16 | - Arvid JB ([@ArvidJB](https://github.com/ArvidJB)) | |
| 16 | 17 | - Bradley Friedman ([@leith-bartrich](https://github.com/leith-bartrich)) | |
| 17 | 18 | - Callum Noble ([@callumnoble](https://github.com/callumnoble)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -92,6 +92,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 92 | 92 | - Fixed `Python.Runtime.dll.config` on macOS ([#120][i120]) | |
| 93 | 93 | - Fixed crash on `PythonEngine.Version` ([#413][i413]) | |
| 94 | 94 | - Fixed `PythonEngine.PythonPath` issues ([#179][i179])([#414][i414])([#415][p415]) | |
| 95 | + - Fixed missing information on 'No method matches given arguments' by adding the method name | ||
| 95 | 96 | ||
| 96 | 97 | ### Removed | |
| 97 | 98 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -507,7 +507,12 @@ internal virtual IntPtr Invoke(IntPtr inst, IntPtr args, IntPtr kw, MethodBase i | |||
| 507 | 507 | ||
| 508 | 508 | if (binding == null) | |
| 509 | 509 | { | |
| 510 | - Exceptions.SetError(Exceptions.TypeError, "No method matches given arguments"); | ||
| 510 | + var value = "No method matches given arguments"; | ||
| 511 | + if (methodinfo != null && methodinfo.Length > 0) | ||
| 512 | + { | ||
| 513 | + value += $" for {methodinfo[0].Name}"; | ||
| 514 | + } | ||
| 515 | + Exceptions.SetError(Exceptions.TypeError, value); | ||
| 511 | 516 | return IntPtr.Zero; | |
| 512 | 517 | } | |
| 513 | 518 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments