newrelic_rpm 3.6.3.105.beta → 3.6.3.106

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
@@ -161,7 +161,7 @@ module NewRelic
161
161
  begin
162
162
  @connections[config] = connector.call(config)
163
163
  rescue => e
164
- ::NewRelic::Agent.logger.error("Caught exception trying to get connection to DB for explain. Control: #{config}", e)
164
+ ::NewRelic::Agent.logger.error("Caught exception trying to get connection to DB for explain.", e)
165
165
  nil
166
166
  end
167
167
  end
@@ -198,4 +198,14 @@ class NewRelic::Agent::DatabaseTest < Test::Unit::TestCase
198
198
 
199
199
  NewRelic::Agent::Database.close_connections
200
200
  end
201
+
202
+ def test_manager_get_connection_does_not_log_configuration_details_on_error
203
+ config = "VOLDEMORT"
204
+ connector = Proc.new { raise }
205
+ error_log = with_array_logger(:error) do
206
+ NewRelic::Agent::Database::ConnectionManager.instance.get_connection(config, &connector)
207
+ end
208
+
209
+ assert_equal false, error_log.array.join.include?('VOLDEMORT')
210
+ end
201
211
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.3.105.beta
5
- prerelease: 10
4
+ version: 3.6.3.106
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jason Clark
@@ -41,7 +41,7 @@ cert_chain:
41
41
  cHUySWFQWE92bTNUOEc0TzZxWnZobkxoL1VpZW4rK0RqOGVGQmVjVFBvTThw
42
42
  VmpLM3BoNQpuL0V3dVpDY0U2Z2h0Q0NNCi0tLS0tRU5EIENFUlRJRklDQVRF
43
43
  LS0tLS0K
44
- date: 2013-06-03 00:00:00.000000000 Z
44
+ date: 2013-06-04 00:00:00.000000000 Z
45
45
  dependencies: []
46
46
  description: ! 'New Relic is a performance management system, developed by New Relic,
47
47
 
metadata.gz.sig CHANGED
Binary file