Commit 6b28df57 authored by Marco Buttu's avatar Marco Buttu
Browse files

out of range message (loggerInfo)

parent 5a209d18
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ class Positioner(object):
                        self.control.scanInfo.update({'dParallacticPos': Pdp})
                        time.sleep(float(self.conf.getAttribute('UpdatingTime')))
                    except OutOfRangeError, ex:
                        logger.logInfo(ex.message)
                        if self.control.modes['rewinding'] == 'AUTO':
                            try:
                                self.rewind() 
@@ -245,6 +246,7 @@ class Positioner(object):
                        else:
                            if self.control.modes['rewinding'] == 'MANUAL':
                                self.control.isRewindingRequired = True
                                logger.logInfo('a derotator rewinding is required')
                            else:
                                logger.logError('wrong rewinding mode: %s' %self.control.modes['rewinding'])
                            break