fix 7729a26 so params remain out of log, as before

Denver Gingerich created

As mentioned in 889024e, 7729a26 had the side-effect of adding the
params values to the log.  In the spirit of 349d8b0, we are trying to
keep such values out of the log, so explicitly remove them to retain
the old (and desired) behaviour.

Change summary

sgx-catapult.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

sgx-catapult.rb 🔗

@@ -827,7 +827,7 @@ class WebhookHandler < Goliath::API
 	end
 
 	def response(env)
-		puts 'ENV: ' + env.to_s
+		puts 'ENV: ' + env.reject{ |k| k == 'params' }.to_s
 
 		users_num = ''
 		others_num = ''