Commit a5ee1bd
authored
Fix signals problem on sentry.io (#1732)
When using the newest version of the Python SDK on the sentry backend we get the following error:
name = "partial(<function " + receiver.func.__name__ + ">)" # type: ignore
AttributeError: __name__
This change gets the __name__ attribute in a very defensive way, to not raise any errors what so ever.1 parent f222c9d commit a5ee1bd
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments