PyImgur icon indicating copy to clipboard operation
PyImgur copied to clipboard

Replace printing exception with actual exception

Open CalicoCatalyst opened this issue 6 years ago • 0 comments

Really makes no sense to have in here. Makes it impossible for me to catch rate limit/file size errors. Additionally breaks my curses screen and forces me to restart the program.

Using an Exception here instead of print makes it possible to catch the error, and to be honest just makes more sense.

Fixes Issue #19

CalicoCatalyst avatar Jul 08 '19 14:07 CalicoCatalyst