Show error message when job failed

For #2