Properly log errors before throwing in CLI mode (fix #2494)
Properly log errors before throwing in CLI mode (fix #2494)

Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber