Less verbose logging of adbsx screenshot.
This commit is contained in:
parent
062e963456
commit
af40b86410
@ -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)))]))))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user