FIX: [droid] logging of python exception
Merge pull request #4221 from koying/fixdroidexceptionlogging

FIX: [droid] logging of python exception (fixes #14314)