forked from vieter-v/vieter
Removed unnecessary log output
This commit is contained in:
parent
7e142cb6c7
commit
3b15066329
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ fn (mut app App) put_package(repo string) web.Result {
|
||||||
if !res.added {
|
if !res.added {
|
||||||
os.rm(pkg_path) or { app.lerror("Failed to remove download '$pkg_path': $err.msg") }
|
os.rm(pkg_path) or { app.lerror("Failed to remove download '$pkg_path': $err.msg") }
|
||||||
|
|
||||||
app.lwarn("Duplicate package '$res.pkg.full_name()' in repo '$repo ($res.pkg.info.arch)'.")
|
app.lwarn("Duplicate package '$res.pkg.full_name()' in repo '$repo'.")
|
||||||
|
|
||||||
return app.json(http.Status.bad_request, new_response('File already exists.'))
|
return app.json(http.Status.bad_request, new_response('File already exists.'))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue