You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @korhojoa, thanks for reporting, we will fix this.
@Zylphrex could you please take a look? I'm assuming we need to handle potential FileNotFoundErrors, but I'm not sure what the behavior should be if one happens.
* fix(profiler): Do not call getcwd from module root
When calling sentry from a cleaned up path, it should not cause an error. So
defer the `os.getcwd()` call until later.
Fixes#2324.
How do you use Sentry?
Self-hosted/on-premise
Version
1.29.2
Steps to Reproduce
Go from sentry-sdk version 1.29.0 to 1.29.2 (this is where we noticed)
sentry-sdk==1.29.0
sentry-sdk==1.29.2
This is the line mentioned in the trace: bc209e5#diff-fb869cde7d11be4df35c1f0d0f45f5824cc0e76e6ada504a48e8ceefe363f739R250
Expected Result
It would work, like it did earlier, and not break the functionality of the tool being used.
I understand that this isn't a common situation, but I think it's unfair that a tool that's supposed to help troubleshoot is breaking functionality.
Actual Result
Running a command that uses sentry from a path that got cleaned up:
The text was updated successfully, but these errors were encountered: