gauge-ruby 0.9.6 → 0.9.7
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/code_parser.rb +3 -1
- data/lib/processors/execution_handler.rb +3 -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: a3e6d6a8dfe2829ef72b51c57504ab6062c247bcfc78029c511d88606b2866cd
|
4
|
+
data.tar.gz: d721ec347c5ffa4ce448890fbf9c20fb9ca22ad733c0234a63a69e61966fdf14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e002255aa6d0dc2eecb955736e4009548a45147a127dc57cd7576a6c7ef3d56e5c2f723782de6686190449e56487b933ea2b23f35d8f7a56a2e1cf1c792fd5d
|
7
|
+
data.tar.gz: 61a2b8d8257bb26f6e10b7fe5e2c1a57c17f1e579e78408aa887ee958e9b7b2066901dc8496dea21e2248bc26b8558f2b6975d647306382d78b5b2ce4f565535
|
data/lib/code_parser.rb
CHANGED
@@ -106,7 +106,9 @@ module Gauge
|
|
106
106
|
parser = Parser::CurrentRuby.new
|
107
107
|
parser.parse(buffer)
|
108
108
|
rescue Exception => e
|
109
|
-
GaugeLog.error e
|
109
|
+
GaugeLog.error "Cannot translate code to ast due to [#{e.message}], ignoring. Enable gauge debug logging to see the backtrace."
|
110
|
+
GaugeLog.debug "Backtrace:"
|
111
|
+
e.backtrace&.each { |line| GaugeLog.debug line }
|
110
112
|
end
|
111
113
|
end
|
112
114
|
end
|
@@ -64,7 +64,9 @@ module Gauge
|
|
64
64
|
begin
|
65
65
|
GaugeScreenshot.instance.capture_to_file
|
66
66
|
rescue Exception => e
|
67
|
-
GaugeLog.error e
|
67
|
+
GaugeLog.error "Cannot capture screenshot due to [#{e.message}], ignoring. Enable gauge debug logging to see the backtrace."
|
68
|
+
GaugeLog.debug "Backtrace:"
|
69
|
+
e.backtrace&.each { |line| GaugeLog.debug line }
|
68
70
|
return nil
|
69
71
|
end
|
70
72
|
end
|