diff --git a/lib/airbrake_api/v3/notice_parser.rb b/lib/airbrake_api/v3/notice_parser.rb index 1a9018f..db6689e 100644 --- a/lib/airbrake_api/v3/notice_parser.rb +++ b/lib/airbrake_api/v3/notice_parser.rb @@ -84,7 +84,7 @@ module AirbrakeApi end def hostname - URI.parse(url).hostname + context['hostname'] || URI.parse(url).hostname rescue URI::InvalidURIError '' end -- libgit2 0.21.2