Why not leave the original version then? Changes should much as needed but small as possible. Original was:
fm.SetStatus(_("Connection failed!"));
after the f_Logger block