MOD replace warning with raise
MOD replace warning with raise

commit suggestion from @coddingtonbear

Co-authored-by: Adam Coddington <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@adamcoddington.net>
coddingtonbear/python-myfitnesspal