Skip to content

Commit

Permalink
print the downloaded file and debugging statement
Browse files Browse the repository at this point in the history
Signed-off-by: muthuja <[email protected]>
  • Loading branch information
muthuja committed Feb 24, 2025
1 parent 7b392e9 commit 436b52d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/omnibus/fetchers/net_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def downloaded_file
filename = source[:cached_name] if source[:cached_name]
filename ||= File.basename(source[:url], "?*")
puts "********START DEBUGGING FROM HERE********"
log.info(log_key) { "-----DEBUG-----file name is #{filename}" }
log.info(log_key) { "-----DEBUG-----file name is #{filename} ---DEBUG--Dir:#{File.join(Config.cache_dir, filename)}" }
log.info(log_key) { "-----DEBUG-----checking file #{File.exist?(File.join(Config.cache_dir, filename))}" }
File.join(Config.cache_dir, filename)
end

Expand Down

0 comments on commit 436b52d

Please sign in to comment.