We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba7140 commit efec7d4Copy full SHA for efec7d4
lib/forest_liana/bootstrapper.rb
@@ -318,9 +318,11 @@ def send_apimap(with_feedback=false)
318
end
319
rescue Errno::ECONNREFUSED, SocketError
320
FOREST_LOGGER.warn "Cannot send the apimap to Forest. Are you online?"
321
- rescue
322
- FOREST_LOGGER.warn "Cannot send the apimap to Forest. Forest might " \
+ rescue => error
+ FOREST_REPORTER.report error
323
+ FOREST_LOGGER.error "Cannot send the apimap to Forest (#{forest_url}). Forest might " \
324
"currently be in maintenance."
325
+ FOREST_LOGGER.error "#{error}\n#{error.backtrace.join("\n\t")}"
326
327
328
0 commit comments