Fixed workflow to show proper error message