getappmap / appmap-ruby

AppMap client agent for Ruby
https://appland.org
Other
100 stars 13 forks source link

fix: Catch an uncaught EINVAL on Windows when fetching method comments #263

Closed dustinbyrne closed 2 years ago

dustinbyrne commented 2 years ago

The method_source gem will happily take a source path such as <internal:pack>:243 and attempt to open it as a file. In this case, Windows will raise an EINVAL error which is not caught by the gem and the error will propagate through the agent and fail a pending recording.

This did not seem to affect any other platform.

appland-release commented 2 years ago

:tada: This PR is included in version 0.83.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: