Fixed a little syntax error in string formatting in beat.py

Changed string formatting of exception message in beat apply assync