diff --git a/nginx_stage/lib/nginx_stage.rb b/nginx_stage/lib/nginx_stage.rb index c7f5387c25..f5cb71ea59 100644 --- a/nginx_stage/lib/nginx_stage.rb +++ b/nginx_stage/lib/nginx_stage.rb @@ -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