graphiti_errors 1.0.beta.1 → 1.0.beta.2

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
  SHA1:
3
- metadata.gz: 60c3e1083ae5a260892ad6d691461e97e34aa889
4
- data.tar.gz: 9e24e9bcd75c78dec28a2e831bc887fd4eb6f569
3
+ metadata.gz: a5b00f070cbd90b53e807813875a0b5e0390cc84
4
+ data.tar.gz: 4d051b0fcad9784db939e9059b9b892cc0e465c8
5
5
  SHA512:
6
- metadata.gz: dc3c73488a190cbc317d9f5cdfbd0a87c9ec7f0c4ef86f197bc38eddbbcb6f42d105717ab6ecd4eaa446471e715fb93fe672e7cab4d0d425844d8c972664b41d
7
- data.tar.gz: dcf809f28c337d17ed1719af2b809f6378d01f0a805548df1fc3fd25e4541400a24ad01d8f3e731bcf6a8437320e4342e6c398c8eed9ce8f154867c61b4ce16d
6
+ metadata.gz: 91c393db25ef15a547ce90e6d3926a97161fc8cf9fd069ed1f98b7a82b8f5755733e2f06a99ceb2ce5c538abd6492c0497f46b45712ebb4cfa967875f8103c96
7
+ data.tar.gz: bc6f9c390dbcc870cd0996a34b069c1e08b36af17b75513d7094cacbea847a04fae1821761a2a1b28c11ec9d2ab3312fb0f413933da6e8caf47d57261c6ffb7e
@@ -49,6 +49,7 @@ module GraphitiErrors
49
49
  exception_klass.log(e)
50
50
  json = exception_klass.error_payload(e)
51
51
  status = exception_klass.status_code(e)
52
+
52
53
  render json: json, status: status
53
54
  end
54
55
 
@@ -44,6 +44,7 @@ module GraphitiErrors
44
44
  if show_raw_error
45
45
  meta_payload[:__raw_error__] = {
46
46
  message: error.message,
47
+ debug: error.instance_variable_get(:@__graphiti_debug),
47
48
  backtrace: error.backtrace
48
49
  }
49
50
  end
@@ -1,3 +1,3 @@
1
1
  module GraphitiErrors
2
- VERSION = "1.0.beta.1"
2
+ VERSION = "1.0.beta.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.beta.1
4
+ version: 1.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-18 00:00:00.000000000 Z
11
+ date: 2018-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable