bridgetown-core 0.18.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bridgetown-core/renderer.rb +6 -8
- data/lib/bridgetown-core/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: 306a26e30d93c885f8e9580f31df3f10757b8d686337ac851a33c354689be225
|
4
|
+
data.tar.gz: 2e258edc76ea89224865c9cbc48d9ae5fcd9dacd2070d99953c6f567644237ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a03b2aaabcf0066e0cb634c95f9b5819db23b472887e1048b78e589c9815615986ed8bb943b77f8d272221448608a95f489d6db21508703dbf3123ec31623a1
|
7
|
+
data.tar.gz: 2fc8d22203172c03db70520f430292833360c0eb39c91dde1a8d17d498c726295a8bc7183310468f981e5d236fa31a26fc3a564beb6e8179922d3975db6f876e
|
@@ -79,8 +79,7 @@ module Bridgetown
|
|
79
79
|
rescue StandardError => e
|
80
80
|
Bridgetown.logger.error "Conversion error:",
|
81
81
|
"#{converter.class} encountered an error while "\
|
82
|
-
"converting
|
83
|
-
Bridgetown.logger.error("", e.to_s)
|
82
|
+
"converting `#{document.relative_path}'"
|
84
83
|
raise e
|
85
84
|
end
|
86
85
|
end
|
@@ -145,13 +144,12 @@ module Bridgetown
|
|
145
144
|
layout.current_document = document
|
146
145
|
layout.current_document_output = output
|
147
146
|
converter.convert layout_output, layout
|
147
|
+
rescue StandardError => e
|
148
|
+
Bridgetown.logger.error "Conversion error:",
|
149
|
+
"#{converter.class} encountered an error while "\
|
150
|
+
"converting `#{document.relative_path}'"
|
151
|
+
raise e
|
148
152
|
end
|
149
|
-
rescue StandardError => e
|
150
|
-
Bridgetown.logger.error "Conversion error:",
|
151
|
-
"#{converter.class} encountered an error while "\
|
152
|
-
"converting '#{document.relative_path}':"
|
153
|
-
Bridgetown.logger.error("", e.to_s)
|
154
|
-
raise e
|
155
153
|
end
|
156
154
|
|
157
155
|
def add_regenerator_dependencies(layout)
|