Skip to content

Commit

Permalink
improve logging when friendly_name is lacking
Browse files Browse the repository at this point in the history
  • Loading branch information
rillbert committed Mar 28, 2021
1 parent bd7d457 commit 320e139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sproc/reporting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def report_completed(process)
friendly_name = if @log_friendly_name_map&.key?(process)
"#{@log_friendly_name_map[process]}"
else
'Process'
process.task_info[:cmd_str][0,10] + "..."
end
started_ok = true
case process.execution_state
Expand Down

0 comments on commit 320e139

Please sign in to comment.