fix: catch warnings and errors
This commit is contained in:
parent
ba6c49b79b
commit
5f9ea45844
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function migration_assert() {
|
||||||
local logfile=$work_path/log/forgejo.log
|
local logfile=$work_path/log/forgejo.log
|
||||||
|
|
||||||
grep --quiet 'ORM engine initialization successful' $logfile
|
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"
|
echo "unexpected warnings in database migration"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue