We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d84ea commit c7a05c7Copy full SHA for c7a05c7
1 file changed
src/Solana.Unity.Dex/Math/Percentage.cs
@@ -176,9 +176,9 @@ public static Percentage FromDouble(double dValue)
176
{
177
throw new PercentageException("Conversion not possible due to overflow");
178
}
179
- catch (Exception)
+ catch (Exception exp)
180
181
- throw new PercentageException("Conversion not possible");
+ throw new PercentageException("Conversion not possible: " + exp.Message);
182
183
184
0 commit comments