FIX: correctly display the error message when a PR is in error