From: rdm Date: Mon, 26 Jan 2004 10:32:01 +0000 (+0000) Subject: added print statement saying how many retries were needed. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=441da749e2200e5f471423f3bf7156364289a59a;p=u%2Fmrichter%2FAliRoot.git added print statement saying how many retries were needed. --- diff --git a/RAW/AliRawEvent.cxx b/RAW/AliRawEvent.cxx index 5e5efd58610..1d1ea4708cb 100644 --- a/RAW/AliRawEvent.cxx +++ b/RAW/AliRawEvent.cxx @@ -517,6 +517,9 @@ again: Error("Create", "failure to open file %s after %d tries", fname, kMaxRetry); return kFALSE; } + if (retry > 1) + Warning("Create", "succeeded to open file after %d retries", retry); + if (fRawDB->IsZombie()) { if (fRawDB->GetErrno() == ENOSPC || fRawDB->GetErrno() == 1018 || // SECOMERR