mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
dont swallow synapse startup errors
This commit is contained in:
parent
f57628e3d0
commit
97fa7e03d1
1 changed files with 7 additions and 1 deletions
|
@ -3,4 +3,10 @@ BASE_DIR=$(readlink -f $(dirname $0))
|
|||
cd $BASE_DIR
|
||||
cd installations/consent
|
||||
source env/bin/activate
|
||||
./synctl start 2> /dev/null
|
||||
LOGFILE=$(mktemp)
|
||||
./synctl start 2> $LOGFILE
|
||||
EXIT_CODE=$?
|
||||
if [ $EXIT_CODE -ne 0 ]; then
|
||||
cat $LOGFILE
|
||||
fi
|
||||
exit $EXIT_CODE
|
Loading…
Reference in a new issue