forest_admin_rails 1.0.0.pre.beta.22 → 1.0.0.pre.beta.24
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: b9b5e4f2f320d600fafe2f81248d1cb9fe102af50b52d6b738eeeb4386a650ef
|
4
|
+
data.tar.gz: 8165afae5fb531f0f6f3dd24bd12d9de75f15dc027e16241e7311364df6d612e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63b9074b36320f95439b315d2f71b3abb806e75aaa6e8289576a60d1c031cdcaaa7765e289e60fa926e6d3b20772bc51efc2eb6d9e8277109a266ea75ba0cc27
|
7
|
+
data.tar.gz: fa8017a8c2daa7ca4bd4c9d32675e04e273589962316bec2a4bcf819c4a5f1452d467ad278571a5fd84abbff533f66fc1480a8a876d6f3a651ba924cedb7d13f
|
@@ -33,19 +33,19 @@ module ForestAdminRails
|
|
33
33
|
{
|
34
34
|
name: exception.name,
|
35
35
|
detail: exception.message,
|
36
|
-
status: exception.status
|
36
|
+
status: exception.try(:status)
|
37
37
|
}
|
38
38
|
]
|
39
39
|
}
|
40
40
|
|
41
|
-
data[:errors][0][:data] = exception.
|
41
|
+
data[:errors][0][:data] = exception.try(:data)
|
42
42
|
|
43
43
|
# TODO: IMPLEMENT LOGGING
|
44
44
|
# if Facades::Container.cache(:is_production)
|
45
45
|
# end
|
46
46
|
end
|
47
47
|
|
48
|
-
render json: data, status: exception.status
|
48
|
+
render json: data, status: exception.try(:status)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_admin_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.beta.
|
4
|
+
version: 1.0.0.pre.beta.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthieu
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-12-
|
12
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dry-configurable
|