Sorry this exception is indeed different. So please have a look [here](http://stackoverflow.com/questions/15316398/check-a-commands-return-code-when-subprocess-raises-a-calledprocesserror-except).