Skip to content

Commit

Permalink
It's _log, not log and we don't need the undefined variable prefix
Browse files Browse the repository at this point in the history
Fixes a bug introduced in:
18ffca9

Note, this shouldn't be fatal since we're just losing a log message.
The next line is exiting the Thread anyway.
  • Loading branch information
jrafanie committed Apr 21, 2017
1 parent 52c2d3f commit 7e82dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/embedded_ansible_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def start_runner
# Because we're running in a thread on the Server
# we need to intercept SystemExit and exit our thread,
# not the main server thread!
log.info("#{log_prefix} SystemExit received, exiting monitoring Thread")
_log.info("SystemExit received, exiting monitoring Thread")
Thread.exit
end
end
Expand Down

0 comments on commit 7e82dc8

Please sign in to comment.