Skip to content

Commit

Permalink
only report error on real panic
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi <[email protected]>
  • Loading branch information
skyzh committed Mar 17, 2022
1 parent a479a36 commit ba2263e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ set -e
for out_file in ${PREFIX_LOG}/*.log
do
if grep "panic" "$out_file" -C 10; then
echo "\"panic\" found in $out_file, please check if there's any bugs in this PR."
if grep "panicked at" "$out_file" -C 10; then
echo "\"panicked at\" found in $out_file, please check if there's any bugs in this PR."
echo "You may find \"risedev-logs\" artifacts and download logs after all workflows finish."
exit 1
fi
Expand Down

0 comments on commit ba2263e

Please sign in to comment.