mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Include caller in error message for Discourse#execute_command
.
This commit is contained in:
parent
4b7c5ba162
commit
be89f593f9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue