summaryrefslogtreecommitdiff
path: root/xmake/core/base/fwatcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/fwatcher.lua')
-rw-r--r--xmake/core/base/fwatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/fwatcher.lua b/xmake/core/base/fwatcher.lua
index ddff66a06..e278b2124 100644
--- a/xmake/core/base/fwatcher.lua
+++ b/xmake/core/base/fwatcher.lua
@@ -148,7 +148,7 @@ end
-- ensure the fwatcher is opened
function _instance:_ensure_opened()
if not self:cdata() then
- return false, string.format("%s: has been closed!", self)
+ return false, string.format("<fwatcher:%s>: has been closed!", self:cdata())
end
return true
end