Bug fix: turned debug off, when on handle_metrics returns None.