-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return error if target binary is not set (#339)
* fix: return error if target binary is not set If OTEL_GO_AUTO_TARGET_EXE is not defined, a runtime panic is triggered: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x96796c] goroutine 1 [running]: go.opentelemetry.io/auto/internal/pkg/process.(*TargetArgs).Validate(...) * fix error commen typo Co-authored-by: Przemyslaw Delewski <102958445+pdelewski@users.noreply.github.com> --------- Co-authored-by: Przemyslaw Delewski <102958445+pdelewski@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters