fix error log without a good exit
add some testConnection page