Fix syntax error in exception catching

During testing I discovered that I had called the error notification
method incorrectly. Should be fixed now.
Merge pull request #70 from acant/bug/error_notification

Fix syntax error in exception catching