Failed attempt at fixing memory bug

This commit is contained in:
Jef Roosens 2022-01-20 19:39:38 +01:00
parent 01d961f68e
commit f1a17cab22
Signed by untrusted user: Jef Roosens
GPG key ID: 955C0660072F691F
3 changed files with 51 additions and 40 deletions

View file

@ -74,7 +74,7 @@ fn (mut app App) put_package() web.Result {
}
added := app.repo.add_from_path(pkg_path) or {
app.lerror('Error while adding package.')
app.lerror('Error while adding package: $err.msg')
return app.text('Failed to add package.')
}