Index: trunk/FACT++/scripts/CheckUnderflow.js
===================================================================
--- trunk/FACT++/scripts/CheckUnderflow.js	(revision 17538)
+++ trunk/FACT++/scripts/CheckUnderflow.js	(revision 17637)
@@ -185,8 +185,14 @@
         dim.send("FAD_CONTROL/LOAD_DRS_CALIBRATION", filefmt.$(yy, mm, dd, night, nn));
 
-        var now = new Date();
-        v8.timeout(3000, function() { if (service_drs.get(0, false).counter>drs_counter) return true; });
-
-        dim.log("Last DRS calibration restored ["+(new Date()-now)/1000+"s]");
+        try
+        {
+            var now = new Date();
+            v8.timeout(3000, function() { if (service_drs.get(0, false).counter>drs_counter) return true; });
+            dim.log("Last DRS calibration restored ["+(new Date()-now)/1000+"s]");
+        }
+        catch (e)
+        {
+            console.warn("Restoring last DRS calibration failed.");
+        }
     }
 
