summaryrefslogtreecommitdiff
path: root/config/initializers/01_secret_token.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/01_secret_token.rb')
-rw-r--r--config/initializers/01_secret_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/01_secret_token.rb b/config/initializers/01_secret_token.rb
index c4520b4b313..c1f03dfdb07 100644
--- a/config/initializers/01_secret_token.rb
+++ b/config/initializers/01_secret_token.rb
@@ -44,7 +44,7 @@ def create_tokens
begin
File.delete(secret_file) if file_secret_key
- rescue => e
+ rescue StandardError => e
warn "Error deleting useless .secret file: #{e}"
end
end