04ac41d911
Phantomjs's execptions toString include a ': ' at the end, so instead use the exception's name property
Phantomjs's execptions toString include a ': ' at the end, so instead use the exception's name property