Fix formatting in error message for connection event