Skip to content

Commit

Permalink
Fix bug in the extension installation error report
Browse files Browse the repository at this point in the history
When an architecture could not be found, it would fail on accessing the
`arch` variable. This variable does not exist. It's accessible as the
`TARGET_TRIPLE` constant.
  • Loading branch information
tombruijn committed Jan 20, 2023
1 parent 7462000 commit e20f4e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def download_archive(type)
unless ARCH_CONFIG.key?(type)
abort_installation(
"AppSignal currently does not support your system. " \
"Expected config for architecture '#{arch}' and package type '#{type}', but none found. " \
"For a full list of supported systems visit: " \
"Expected config for architecture '#{TARGET_TRIPLE}' and package type '#{type}', " \
"but none found. For a full list of supported systems visit: " \
"https://docs.appsignal.com/support/operating-systems.html"
)
return
Expand Down

0 comments on commit e20f4e2

Please sign in to comment.