mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
rephrase pipeline creation error message, fixes #6968
This commit is contained in:
parent
5e417bd877
commit
f34cf4a1bc
1 changed files with 2 additions and 2 deletions
|
@ -261,9 +261,9 @@ class LogStash::Agent
|
|||
n.gauge(:last_failure_timestamp, LogStash::Timestamp.now)
|
||||
end
|
||||
if @logger.debug?
|
||||
@logger.error("Cannot load an invalid configuration", :reason => message, :backtrace => backtrace)
|
||||
@logger.error("Cannot create pipeline", :reason => message, :backtrace => backtrace)
|
||||
else
|
||||
@logger.error("Cannot load an invalid configuration", :reason => message)
|
||||
@logger.error("Cannot create pipeline", :reason => message)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue