is_this_used 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d781ed2774ddda32adf7b68b87cc0666e6c08de682b07ab2fbec2daa45f02789
|
4
|
+
data.tar.gz: fd32bc27fa9ece52099e5cc1214394c14753478c7677c70ab04e4b31ca92a3f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da3a8cfda9bc44da06b7732e205d410709a2166568cbaacd8c17020b2960f40cfd2043ea82cd6dc96eb8a37aa7c08ae616669683cde524087b88f6f083fdb3c
|
7
|
+
data.tar.gz: 8c0ae318620b3808a775c9c9d9301bc942d4426dea9981eba78433e5055d1b1484ddc717b836afdd9b9b12a5921b81cba39d839ee3bb3cb46af8d7a29600b4a9
|
@@ -85,6 +85,10 @@ module IsThisUsed
|
|
85
85
|
Rails.logger.warn(
|
86
86
|
'There was an error recording potential cruft. Does the potential_crufts table exist?'
|
87
87
|
)
|
88
|
+
rescue Mysql2::Error::ConnectionError
|
89
|
+
Rails.logger.warn(
|
90
|
+
'There was an error recording potential cruft due to being unable to connect to the database. This may be a non-issue in cases where the database is intentionally not available.'
|
91
|
+
)
|
88
92
|
end
|
89
93
|
|
90
94
|
def target_method(method_name, method_type)
|
data/lib/is_this_used/version.rb
CHANGED