mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
improve error message for missing scripts, fix #2824
This commit is contained in:
parent
02d2ef7506
commit
b57f1a86af
@ -50,7 +50,7 @@ class Script:
|
||||
self.last_load = 0
|
||||
self.last_mtime = 0
|
||||
if not os.path.isfile(self.fullpath):
|
||||
raise exceptions.OptionsError("No such script: %s" % path)
|
||||
raise exceptions.OptionsError('No such script: "%s"' % self.fullpath)
|
||||
|
||||
@property
|
||||
def addons(self):
|
||||
|
Loading…
Reference in New Issue
Block a user