summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-08 17:06:18 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-08 17:06:18 +0200
commit8a496fdde61b766e3ff720172419b7d53cbc40f2 (patch)
treefece307f6c4db63f5beaf2930c89b654580f913f /rc.lua
parentd33e8cc69151db7114e1e8623cdeb8712f32c91a (diff)
rc: convert the error text to string
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index 225a3bb..a75eeae 100644
--- a/rc.lua
+++ b/rc.lua
@@ -34,7 +34,7 @@ do
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!",
- text = err })
+ text = tostring(err) })
in_error = false
end)
end