Skip to content

Commit

Permalink
Use self.release
Browse files Browse the repository at this point in the history
  • Loading branch information
danifbento committed Apr 7, 2021
1 parent 548427b commit b208dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raven/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ function raven_mt:send_report(json, conf)
json.platform = "lua"
json.logger = self.logger
json.environment = self.environment
json.release = self.release

if conf then
json.tags = merge_tables(conf.tags, self.tags)
Expand All @@ -340,7 +341,6 @@ function raven_mt:send_report(json, conf)

json.request = _M.get_request_data()
json.server_name = _M.get_server_name()
json.release = _M.get_release()

local json_str = json_encode(json)
local ok, err = self.sender:send(json_str)
Expand Down

0 comments on commit b208dfa

Please sign in to comment.