diff options
author | Yeongjong Lee <yj34.lee@samsung.com> | 2019-10-24 18:21:39 -0300 |
---|---|---|
committer | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-10-24 18:34:30 -0300 |
commit | b8ba39f4cb228ef16677f0db9dd7173f309beee4 (patch) | |
tree | 431fa3b5e790cc5a571ec79d553c1983fa2ac0af | |
parent | 1158775084bfb5ae9a6382cb2e99b7bd3c5fafb7 (diff) | |
download | efl-b8ba39f4cb228ef16677f0db9dd7173f309beee4.tar.gz |
eina_mono: re-throw exception to preserve stack details
Summary:
fix CA2200
ref T8426
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8426
Differential Revision: https://phab.enlightenment.org/D10462
-rw-r--r-- | src/bindings/mono/eina_mono/eina_common.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/mono/eina_mono/eina_common.cs b/src/bindings/mono/eina_mono/eina_common.cs index 7f59d73344..44d6c6cf4a 100644 --- a/src/bindings/mono/eina_mono/eina_common.cs +++ b/src/bindings/mono/eina_mono/eina_common.cs @@ -205,10 +205,10 @@ public static class StringConversion Marshal.WriteByte(native + strbuf.Length, 0); // write the terminating null return native; } - catch(Exception e) + catch(Exception) { MemoryNative.Free(native); - throw e; + throw; } } |