Only send the first 20 characters of the token
This commit is contained in:
parent
be43a7474a
commit
c1ed996b1d
@ -457,7 +457,7 @@ module RemoteStorage
|
|||||||
rescue RestClient::Unauthorized => ex
|
rescue RestClient::Unauthorized => ex
|
||||||
Raven.capture_exception(
|
Raven.capture_exception(
|
||||||
ex,
|
ex,
|
||||||
tags: { swift_token: settings.swift_token,
|
tags: { swift_token: settings.swift_token[0..19], # send the first 20 characters
|
||||||
swift_token_loaded_at: settings.swift_token_loaded_at }
|
swift_token_loaded_at: settings.swift_token_loaded_at }
|
||||||
)
|
)
|
||||||
server.halt 500
|
server.halt 500
|
||||||
|
Loading…
x
Reference in New Issue
Block a user