diff options
| author | Braxton Brown <braxton.brown@outlook.com> | 2026-01-30 20:34:34 -0700 |
|---|---|---|
| committer | Braxton Brown <braxton.brown@outlook.com> | 2026-01-30 20:34:34 -0700 |
| commit | c972d3cd8bd0ee7988de5dd758574532a14e9514 (patch) | |
| tree | 53c973a55a6f111357feae3bc3a4e2b66b7caabd /lua | |
| parent | 2c771814e1d95280ee99545de61b28dfa773c5fa (diff) | |
| download | a4-c972d3cd8bd0ee7988de5dd758574532a14e9514.tar.xz a4-c972d3cd8bd0ee7988de5dd758574532a14e9514.zip | |
fix error with bad type
This block used to error out saying arg two was a string, but an integer
was expected, this displays the error.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/99/logger/logger.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/99/logger/logger.lua b/lua/99/logger/logger.lua index b2dc37b..994bce4 100644 --- a/lua/99/logger/logger.lua +++ b/lua/99/logger/logger.lua @@ -68,7 +68,7 @@ FileSink.__index = FileSink function FileSink:new(path) local fd, err = vim.uv.fs_open(path, "w", 493) if not fd then - error("unable to file sink", err) + error("unable to file sink: " .. err) end return setmetatable({ |
