fix: catch warnings and errors

This commit is contained in:
Earl Warren 2025-01-16 19:23:06 +01:00
parent ba6c49b79b
commit 5f9ea45844
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -56,7 +56,7 @@ function migration_assert() {
local logfile=$work_path/log/forgejo.log
grep --quiet 'ORM engine initialization successful' $logfile
if grep --fixed-strings 'serveInstalled() [W] Table' $logfile; then
if grep 'serveInstalled() \[[EW]\] Table' $logfile; then
echo "unexpected warnings in database migration"
return 1
fi