| Index: chrome/common/extensions/docs/server2/offline_file_system.py
|
| diff --git a/chrome/common/extensions/docs/server2/offline_file_system.py b/chrome/common/extensions/docs/server2/offline_file_system.py
|
| index 984bb2a5a0c469df085ad0af8fdca447bfd90400..281ef5dd3fc8bea9f01c8f1d195a0e88ca06b699 100644
|
| --- a/chrome/common/extensions/docs/server2/offline_file_system.py
|
| +++ b/chrome/common/extensions/docs/server2/offline_file_system.py
|
| @@ -12,10 +12,10 @@ class OfflineFileSystem(FileSystem):
|
| self._cls = cls
|
|
|
| def Read(self, paths, binary=False):
|
| - raise FileNotFoundError(paths)
|
| + raise FileNotFoundError('File system is offline, cannot read %s' % paths)
|
|
|
| def Stat(self, path):
|
| - raise FileNotFoundError(path)
|
| + raise FileNotFoundError('File system is offline, cannot read %s' % path)
|
|
|
| # HACK: despite GetName/GetVersion being @classmethods, these need to be
|
| # instance methods so that we can grab the name and version from the class
|
|
|