catches an exception in fLOG