Skip to content

Commit

Permalink
account for this error and return nil
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Nov 6, 2024
1 parent d3abb0d commit 2a1c82e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx_stage/lib/nginx_stage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ def self.active_users
rescue ArgumentError => e
log = Syslog::Logger.new 'ood_nginx_stage'
log.error "cannot create user #{v} because of error '#{e.message}'"
end
nil
end.compact
end

# Get a hash of all the staged app configs
Expand Down

0 comments on commit 2a1c82e

Please sign in to comment.