libis-workflow 2.1.12 → 2.1.14
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 +4 -4
- data/lib/libis/exceptions.rb +2 -0
- data/lib/libis/workflow/task.rb +10 -0
- data/lib/libis/workflow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97c5ef592f59a3caa686b720be93627ac6c3b4ef0dc090b7c34fde4df0dd884f
|
4
|
+
data.tar.gz: 1d94306c409a49e0e32a793b2776006f5cbd1bbea7cc249e6ac6c367929910b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89cd04b42874247038d0f68ff9f99d9c69c73133db0434a36f7f3379987ddc268a9f724ee2ad8bb9fec1cf6bc8b0cf763c03282cca21e1baf197e06df41435f2
|
7
|
+
data.tar.gz: c4f5932fe4f02ba30f225fa8100ae6907476f69f067de278be9cf5d5eb1f3b1e32f81f93603f215050b62534a53315b4d8dd6d55ab795f5178ac4d93a7d691e4
|
data/lib/libis/exceptions.rb
CHANGED
data/lib/libis/workflow/task.rb
CHANGED
@@ -99,6 +99,10 @@ module Libis
|
|
99
99
|
set_status item, :FAILED
|
100
100
|
raise e if parent
|
101
101
|
|
102
|
+
rescue WorkflowAbortForget => e
|
103
|
+
set_status item, :FAILED
|
104
|
+
raise e
|
105
|
+
|
102
106
|
rescue Exception => e
|
103
107
|
set_status item, :FAILED
|
104
108
|
fatal_error "Aborting ingest because of error: %s @ %s\n%s", item, e.message, e.backtrace.first, e.backtrace.map{|t| ' -- ' + t}.join("\n")
|
@@ -217,7 +221,13 @@ module Libis
|
|
217
221
|
set_status(item, :FAILED)
|
218
222
|
break
|
219
223
|
|
224
|
+
rescue Libis::WorkflowAbortForget => e
|
225
|
+
fatal_error 'Fatal error processing subitem (%d/%d): %s @ %s\n%s', item, i + 1, items.size, e.message, e.backtrace.first, e.backtrace.map{|t| ' -- ' + t}.join("\n")
|
226
|
+
set_status(item, :FAILED)
|
227
|
+
raise e
|
228
|
+
|
220
229
|
rescue Exception => e
|
230
|
+
fatal_error 'Fatal error processing subitem (%d/%d): %s @ %s\n%s', item, i + 1, items.size, e.message, e.backtrace.first, e.backtrace.map{|t| ' -- ' + t}.join("\n")
|
221
231
|
set_status(item, :FAILED)
|
222
232
|
raise Libis::WorkflowAbort, "#{e.message} @ #{e.backtrace.first}"
|
223
233
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Libis
|
2
2
|
module Workflow
|
3
|
-
VERSION = '2.1.
|
3
|
+
VERSION = '2.1.14' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
|
4
4
|
end
|
5
5
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libis-workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|