Closed soraxas closed 1 month ago
Thank you! This is a good catch. Do you have any info on why the exception happened though? I'm wondering if something else needs to also be fixed. Thanks!
I'm not too sure as I was just testing this out, and haven't continue using it since.
But from the looks of it, it can be as simple as jpeg decode error (e.g. Corrupted /maulform message data?)
OK, thanks anyway!
When there's exception inside the
try
except
block, the variableimg_jpeg
would not exists, resulting inUnboundLocalError