send signals to the flask app not to the Api
fix test
Merge pull request #94 from frankstratton/fix-error-signals

send signals to the flask app not to the Api