Skip to content

Commit

Permalink
Fix exception message (text change)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-o-e committed Jul 9, 2020
1 parent e2908d9 commit a8e4248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/suzuri.cr
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module Suzuri
raise Error::DecryptionFailed.new(ex.message)
end

raise Error::TokenExpired.new("Token expired at #{timestamp}") if ttl && timestamp + ttl < Time.utc
raise Error::TokenExpired.new("Token expired at #{timestamp + ttl}") if ttl && timestamp + ttl < Time.utc
Token.new(payload: payload, timestamp: timestamp)
end

Expand Down

0 comments on commit a8e4248

Please sign in to comment.