lib/skylight/instrumenter.rb in skylight-0.4.0.beta2 vs lib/skylight/instrumenter.rb in skylight-0.4.0
- old
+ new
@@ -260,9 +260,10 @@
# Validates that the provided authentication token is valid. This is done
# by issuing a request for a session token and checking the response
def validate_authentication
# If a session token is specified, don't bother attempting to validate
if config[:session_token]
+ debug "using pre-generated session token"
true
else
api = Api.new(config)
api.authentication = config[:authentication]