Less verbose logging of adbsx screenshot.

This commit is contained in:
John Wiseman 2019-12-19 13:54:17 -08:00
parent 062e963456
commit af40b86410

View File

@ -137,18 +137,18 @@
"-" "-"
icao icao
".png"))] ".png"))]
(log-info "Writing %s" path) (log-verbose "Writing %s" path)
(p/do (p/do
(.screenshot page (clj->js {:path path (.screenshot page (clj->js {:path path
:clip (get options :clip {:width 860 :clip (get options :clip {:width 860
:height 680 :height 680
:x 46 :x 46
:y 46})})) :y 46})}))
(log-info "screenshot done") (log-debug "screenshot done")
(reset! took-screenshot?_ true) (reset! took-screenshot?_ true)
(log-info "closing browser") (log-debug "closing browser")
(.close browser) (.close browser)
(log-info "closing browser done") (log-debug "closing browser done")
path)))])))) path)))]))))