mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
DEV: Include caller in error message for Discourse#execute_command
.
This commit is contained in:
parent
4b7c5ba162
commit
be89f593f9
@ -25,7 +25,7 @@ module Discourse
|
||||
|
||||
if !status.success?
|
||||
failure_message = "#{failure_message}\n" if !failure_message.blank?
|
||||
raise "#{failure_message}#{stderr}"
|
||||
raise "#{caller[0]}: #{failure_message}#{stderr}"
|
||||
end
|
||||
|
||||
stdout
|
||||
|
Loading…
Reference in New Issue
Block a user