Skip to content

Commit fded642

Browse files
committed
log error code
1 parent b61b5b8 commit fded642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ log_event() {
5454
if [ "$1" -eq 0 ]; then
5555
echo "$2" >> $VESTA/log/system.log
5656
else
57-
echo "$2" >> $VESTA/log/error.log
57+
echo "$2 [Error $1]" >> $VESTA/log/error.log
5858
fi
5959
}
6060

0 commit comments

Comments
 (0)