mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
51de4c2674
commit
32c306f28f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ module LogStash::Util
|
|||
def self.thread_info(thread)
|
||||
# When the `thread` is dead, `Thread#backtrace` returns `nil`; fall back to an empty array.
|
||||
backtrace = (thread.backtrace || []).map do |line|
|
||||
line.gsub(LogStash::Environment::LOGSTASH_HOME, "[...]")
|
||||
line.sub(LogStash::Environment::LOGSTASH_HOME, "[...]")
|
||||
end
|
||||
|
||||
blocked_on = case backtrace.first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue