service_caller 1.0.3 → 1.0.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: 31797557043d5fec9f9a5fa9497e0676742038ed7af367ffb5a0a9ab68bfd342
4
- data.tar.gz: b3e2bf861756cc2c5bb5998801144366cc255cd6c3e564a91e6d8c218fc1305f
3
+ metadata.gz: 896553b4a72369a84c19158709621c7de9e4b036d5a41c40f807126cc7f49623
4
+ data.tar.gz: 32a19a020177588c70c60285c578ddff96db8bf1d99fff370a21c681748c66f7
5
5
  SHA512:
6
- metadata.gz: 1e426cec96768b798867683ddbc5962c0b361113574daaf7ec83c4e43f0fbb7358cdffb4dcea5a1440da9ae40e521610d6acfa58966ae3c07d52e5fe8846a0ee
7
- data.tar.gz: 92faf376fac110cb0bf16b1e6ada0550690f35f038108f1704d18d6376e706828808280d17b0d1bc0e3974aebefa971a5652499f473d2915b78b7a50673e0fbd
6
+ metadata.gz: 13831679ecbdfa6bca20d00507e3bc65c864485b33396d8c760573db92dc9dcb287d1c6f7f82ec3002f7e90fd5f1c6d3df3d8ba99b92284486d73e4156dd1f70
7
+ data.tar.gz: 43a8abead5e84381404b656081eb4c4ff128c07d5bbace951f9055d453518aeac3a579f4d7d4e1081d522f7eb796551601d63bb909d223c9b9726bd97a4ab53f
@@ -8,7 +8,7 @@ module ServiceExtend
8
8
  rescue ServiceError => e
9
9
  @error = e
10
10
  rescue ActiveRecord::RecordNotFound => e
11
- @error = ServiceError.new(:record_not_found, e.message)
11
+ @error = ServiceError.new(:record_not_found, error_msg: e.message)
12
12
  @error.set_backtrace(e.backtrace)
13
13
  rescue Exception => e
14
14
  @error = ServiceError.generate_from_exception(e)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_caller
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - JiaRou Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-16 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: basic implement of service object
14
14
  email: laura34963@kdanmobile.com