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
{{ message }}
Repository navigation
[Bug]: takeHeapSnapshot is always throwing an error #37424
Looks like this is happening because you're passing an invalid file path. This method will create the file, but the enclosing directory needs to previously have been created.
I've opened a PR to hopefully make this more clear and easy to debug in the future 😄
@codebytere oh wow, you are correct. It never occurred to me that the enclosing directory might not get created implicitly. Very much appreciated if the error message can be updated to reflect this 🙏
Activity
[-][Bug]: [/-][+][Bug]: takeHeapSnapshot is always throwing an error[/+]codebytere commentedon Feb 28, 2023
Looks like this is happening because you're passing an invalid file path. This method will create the file, but the enclosing directory needs to previously have been created.
I've opened a PR to hopefully make this more clear and easy to debug in the future 😄
eschaefer commentedon Feb 28, 2023
@codebytere oh wow, you are correct. It never occurred to me that the enclosing directory might not get created implicitly. Very much appreciated if the error message can be updated to reflect this 🙏