wco_models 3.1.0.88 → 3.1.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2677535542d4c58553358f87c01db219b8995a4d299bc0e7019b3c61bb002c60
4
- data.tar.gz: 8d78aeb3a31e0c4704267b9cea11cd8b4f570186101c5309ecaade26de4dfa2a
3
+ metadata.gz: a31a3f2a942a120f14f6749392ccae5a144062995f359be3827b989f238737da
4
+ data.tar.gz: fd1fb43f8997d6cfd7e4750db138a59fecc0d3afa1613a7ab93ba530ca714730
5
5
  SHA512:
6
- metadata.gz: 6784c7d5c6d8f601d9f7a86b342a8874629d91df36a326a1953176123fadff3124c7374ccf2fa7a745be36571ea70d019f63775290ef3f99e6a8cfa44e2d96a0
7
- data.tar.gz: 574a70b6ca0e9def07f79938feb6193fc3dc1e6a9b4625f4c35b304fbfecb4d4339878962b6fdb6a343c0543f789521211b77223ff0c97814ec3b997201c81f9
6
+ metadata.gz: 5bb910e3451c67d9703797fa050786c4895b978ae55752f281949daa245b40364dfe05d87c27b8b597baeb30bc43b8b258e54a8b41c86d0efc07744962fb45d8
7
+ data.tar.gz: cae491d9f519fa1cb60c0d0fa9509d0cd9b22ae97550d6910007c3af920a8aaf8d235b14866107779627fa58790a3e7f093732cab891e66be454bcda8fbad3aa
@@ -27,7 +27,15 @@ class Wco::OfficeAction
27
27
  sch = self
28
28
  sch.update!({ status: STATUS_INACTIVE })
29
29
 
30
- eval( sch.tmpl.action_exe )
30
+ begin
31
+ eval( sch.tmpl.action_exe )
32
+ rescue => err
33
+ puts! err, "Wco::OfficeAction#do_run"
34
+ ::ExceptionNotifier.notify_exception(
35
+ err,
36
+ data: { office_action: self }
37
+ )
38
+ end
31
39
 
32
40
  # schedule next actions & update the action
33
41
  sch.tmpl.ties.each do |tie|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.88
4
+ version: 3.1.0.89
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev