cryptum 0.0.418 → 0.0.419
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/log.rb +3 -3
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1194d686064fa1e4c7906950a981e019d8605dae8d6967eb7fe10c75c21c65a8
|
4
|
+
data.tar.gz: a36d28c78ca595d5b4c30120e99545a69acd7729777d716b65f40bbe928ec74e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969df8619653a0478488d693ea799439c7bca09848e7a75828110a96f2021633ac34c267f93cacf6242ba2112630c38eca372024bd549eb52df1b2db18586e2a
|
7
|
+
data.tar.gz: f04d28105dc1a201f303f01668b7bc3061663f3c14dc9645136fd66c5c07a7fcc7d2e0289cbb1f8a93b09d1c25c98cb9ebbef19c217d6a7e84983e1471785101
|
data/lib/cryptum/log.rb
CHANGED
@@ -43,8 +43,8 @@ module Cryptum
|
|
43
43
|
when :debug
|
44
44
|
logger.level = Logger::DEBUG
|
45
45
|
when :error
|
46
|
-
exit_gracefully = true
|
47
46
|
logger.level = Logger::ERROR
|
47
|
+
exit_gracefully = true unless driver_name == 'cryptum-repl'
|
48
48
|
puts "\nERROR: See #{log_file_path} for more details." if driver_name == 'cryptum-repl'
|
49
49
|
when :fatal
|
50
50
|
# This is reserved for the Cryptum::UI::Exit module
|
@@ -87,9 +87,9 @@ module Cryptum
|
|
87
87
|
end
|
88
88
|
|
89
89
|
if msg.instance_of?(Interrupt)
|
90
|
-
log_event += ' => CTRL+C Detected...Exiting Session.'
|
91
90
|
logger.level = Logger::WARN
|
92
|
-
|
91
|
+
log_event += ' => CTRL+C Detected...Exiting Session.'
|
92
|
+
exit_gracefully = true unless driver_name == 'cryptum-repl'
|
93
93
|
else
|
94
94
|
log_event += " => #{msg}"
|
95
95
|
if msg.respond_to?('backtrace') && !msg.instance_of?(Errno::ECONNRESET)
|
data/lib/cryptum/version.rb
CHANGED