fix bad call to notify_exception
Merge pull request #1642 from dimagi/cz

fix bad call to notify_exception