diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-03 22:54:46 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-03 22:54:46 +0200 |
commit | 8232f76c482d3046055bd7bf224ef7835d0fa399 (patch) | |
tree | 9f3c89d67e9878098fdcbfb2d0931d5f0f4d2261 /app/lib | |
parent | 98a93aa07e087ea3af98253a55a9ba2a043c5b36 (diff) |
Add check for visibility.nil? even though it can't ever be, to check for race conditions
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/exceptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/exceptions.rb b/app/lib/exceptions.rb index 200da9fe1..9bc802c12 100644 --- a/app/lib/exceptions.rb +++ b/app/lib/exceptions.rb @@ -4,4 +4,5 @@ module Mastodon class Error < StandardError; end class NotPermittedError < Error; end class ValidationError < Error; end + class RaceConditionError < Error; end end |