Check only part of the error message as it's different in hhvm