Windows time monitor

Since you are returning the err here, you don't need this else block. One of the purposes of returning the error is to prevent indentation in the following lines.