@@ -509,7 +509,7 @@ module Agents |
||
509 | 509 |
module Scrubbed |
510 | 510 |
def scrubbed(method) |
511 | 511 |
(@scrubbed ||= {})[method.to_sym] ||= |
512 |
- __send__(method).scrub { |bytes| "<#{bytes.unpack('H*')[0]}>" } |
|
512 |
+ __send__(method).try(:scrub) { |bytes| "<#{bytes.unpack('H*')[0]}>" } |
|
513 | 513 |
end |
514 | 514 |
end |
515 | 515 |
|