strongmind-auth 1.0.6 → 1.0.8
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: fe8a1065a1aaff5f3ed20999981c7201aaccc6db7e7aab98f5e775a2b1e6911d
|
4
|
+
data.tar.gz: 5d5740e266cd5ee581800f9f18ffda6d71fa5c5ceb6ff9957384ec509773eb26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29c1de0ced18e7d4f1d3244c725c86fc8d34b496a46c2fc265e930b0a23ba29e853407e6fafd95d7fcdb54e39a1fca6c91e540d008f19edaaff1f3ae38f6f433
|
7
|
+
data.tar.gz: 61f1111cbfab644070ffe0d3a377fa50e6043737e1a87e3420869a1502924b7a07d33a38fcb04afb37925d01984f82a88d9aeb9f012ae1f110f5edaa485d47c5
|
@@ -10,9 +10,11 @@ module StrongMindNav
|
|
10
10
|
@top_navbar_html = navbar[:top_navbar_html]
|
11
11
|
@bottom_navbar_html = navbar[:bottom_navbar_html]
|
12
12
|
@theme_css = navbar[:theme_css]
|
13
|
-
rescue Strongmind::CommonNavFetcher::TokenNotFoundError, Strongmind::CommonNavFetcher::UserNotFoundError
|
13
|
+
rescue Strongmind::CommonNavFetcher::TokenNotFoundError, Strongmind::CommonNavFetcher::UserNotFoundError => e
|
14
|
+
Sentry.capture_exception(e)
|
14
15
|
render 'logins/index'
|
15
|
-
rescue
|
16
|
+
rescue Exception => e
|
17
|
+
Sentry.capture_exception(e)
|
16
18
|
@top_navbar_html = render_to_string(partial: 'layouts/loading_navbar').html_safe
|
17
19
|
end
|
18
20
|
end
|
@@ -19,7 +19,7 @@ module Strongmind
|
|
19
19
|
# [
|
20
20
|
# { name: 'Home', icon: 'fa-solid fa-house', path_method: :root_path }
|
21
21
|
# ]
|
22
|
-
# end"
|
22
|
+
# end\n\n"
|
23
23
|
|
24
24
|
end
|
25
25
|
end
|
@@ -52,6 +52,7 @@ devise_scope :user do
|
|
52
52
|
gem 'omniauth_openid_connect'
|
53
53
|
gem 'omniauth-rails_csrf_protection'
|
54
54
|
gem 'dotenv-rails'
|
55
|
+
gem 'sentry-rails'
|
55
56
|
|
56
57
|
end
|
57
58
|
|