summaryrefslogtreecommitdiffhomepage
path: root/examples/xmobar.config
diff options
context:
space:
mode:
authorSibi Prabakaran <sibi@psibi.in>2020-04-25 10:23:56 +0530
committerjao <jao@gnu.org>2020-05-02 16:34:52 +0100
commitb7a3d674581720bfb63bf73cae8368ebbad81004 (patch)
tree09b27953448052bf8f6ce0245f1e4d8ecf19f856 /examples/xmobar.config
parenta135fcf40172355bc36bc6d4f98b484375dc5add (diff)
downloadxmobar-b7a3d674581720bfb63bf73cae8368ebbad81004.tar.gz
xmobar-b7a3d674581720bfb63bf73cae8368ebbad81004.tar.bz2
Avoid busy looping by not catching all exceptions
This specifically avoids situation described in this issue https://github.com/jaor/xmobar/issues/438 where the handle was throwing the IOException continously in a loop: <stdin>: hGetLine: invalid argument (invalid byte sequence) It happened because my system's environment was right, but the proper behaviour hear would be to let it to throw the exception rather than leading to a busy loop. I did some git blame to find out that this commit introduced the behaviour: https://github.com/jaor/xmobar/commit/fc24dc1874dcf7c9e66e21502a58b40cbe627c85 but there was no reason mentioned in the commit for trying to capture all exceptions.
Diffstat (limited to 'examples/xmobar.config')
0 files changed, 0 insertions, 0 deletions