Commit 80f21d9e authored by Zeyu DONG's avatar Zeyu DONG
Browse files

update logging

parent 86d2f8cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -137,4 +137,4 @@ if __name__ == '__main__':
    except RetryError:
    except RetryError:
        logger.error('Attempts used up. The program will quit.')
        logger.error('Attempts used up. The program will quit.')
    except Exception as e:
    except Exception as e:
        logger.error("Critical error occurs", exc_info=True)
        logger.critical("Critical error occurs", exc_info=True)