fix handling of syntax errors
fix handling of syntax errors

fireduck64/electrum-server,erasmospunk/electrum-server,bauerj/electrum-server,eXcomm/electrum-server,cryptapus/electrum-server-myr,shsmith/electrum-server,fireduck64/electrum-server,argentumproject/electrum-arg-server,lbryio/lbryum-server,cryptapus/electrum-server-myr,spesmilo/electrum-server,lbryio/lbryum-server,erasmospunk/electrum-server,eXcomm/electrum-server,dashpay/electrum-dash-server,cryptapus/electrum-server,bauerj/electrum-server,cryptapus/electrum-server,protonn/electrum-dgb-server,OverlordQ/electrum-server,thelazier/electrum-dash-server,Verbalist/electrum-server,OverlordQ/electrum-server,vcoin-project/electrum-server-vcn,GroestlCoin/electrum-grs-server,spesmilo/electrum-server,argentumproject/electrum-arg-server,GroestlCoin/electrum-grs-server,repos-bitcoin/electrum-server,repos-bitcoin/electrum-server,Verbalist/electrum-server,pooler/electrum-ltc-server,shsmith/electrum-server,vcoin-project/electrum-server-vcn,joshafest/electrum-fnx,dashpay/electrum-dash-server,cryptapus/electrum-server-uno,joshafest/electrum-fnx,protonn/electrum-dgb-server,cryptapus/electrum-server-uno,thelazier/electrum-dash-server,pooler/electrum-ltc-server