diff --git a/src/api/app/controllers/source_controller.rb b/src/api/app/controllers/source_controller.rb index 25afb493e79..f391257a296 100644 --- a/src/api/app/controllers/source_controller.rb +++ b/src/api/app/controllers/source_controller.rb @@ -1828,7 +1828,7 @@ def index_project_createpatchinfo if DbPackage.exists_by_project_and_name( params[:project], pkg_name ) unless params[:force] render_error :status => 400, :errorcode => "patchinfo_file_exists", - :message => "The patchinfo file exists already. Either use force=1 or updatepatchinfo." + :message => "createpatchinfo command: the patchinfo file exists already. Either use force=1 to re-create it or updatepatchinfo for updating." return end pkg = DbPackage.get_by_project_and_name params[:project], pkg_name