cleanup: show error message

Add error message on error path.
1 file changed