Commit a47f81db authored by Boxiang Sun's avatar Boxiang Sun

list all the service info

I'm afraid that I list out some other services which not belong to the current partition
parent 8639dd7a
......@@ -904,8 +904,10 @@ class Partition(object):
if len(bad_service_list) > 0:
raise ChildProcessError(
"The following on-watch service(es) is not running:\n%s\n\
For the details, please check the corresponding log." %
'\n'.join(bad_service_list))
For the details, please check the corresponding log.\n\
The service path is: %s\n\
The services is: %s\n" %
('\n'.join(bad_service_list), self.service_path, str(os.listdir(self.service_path))))
def cleanupFolder(self, folder_path):
"""Delete all files and folders in a specified directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment