sneaql 0.0.22-java → 0.0.23-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sneaql_lib/core.rb +9 -0
- data/lib/sneaql_lib/exceptions.rb +7 -0
- 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: 3253ac685539dd5150b384369ff631ec34d4898118e9ee3275dc400a9f6c55d6
|
4
|
+
data.tar.gz: 514fd1ba705a7ea5797c36d4d4fc440432f63f88c82b8c04ec481c5ea6a6f553
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7360df8b0e665ef210a769aa48839fa600fc6cc3ca43a8e129abbda28a305f8be1f9c52b6278ff0ad294114e7a06fbd5a45dee0d8428ab5b0223d0f8ca567a
|
7
|
+
data.tar.gz: 970cdcb674d360849579f548dfc25a0df6e034975e5251c810665275722cf7ab721f6fab99b2f36fc3193c71dd2085795a427ecc1fac55436cd61f9d32cf4fa6
|
data/lib/sneaql_lib/core.rb
CHANGED
@@ -440,6 +440,15 @@ module Sneaql
|
|
440
440
|
|
441
441
|
@exception_manager.pending_error = nil
|
442
442
|
@exception_manager.last_iterated_record = nil
|
443
|
+
|
444
|
+
when 'fail' then
|
445
|
+
@logger.error("#{@exception_manager.pending_error.message}")
|
446
|
+
if @exception_manager.pending_error.backtrace
|
447
|
+
@exception_manager.pending_error.backtrace.each {|b| @logger.debug(b) }
|
448
|
+
end
|
449
|
+
@logger.info("exiting sneaql due to failure")
|
450
|
+
|
451
|
+
raise Sneaql::Exceptions::ForceFailure
|
443
452
|
end
|
444
453
|
end
|
445
454
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sneaql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- jeremy winters
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|