aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/headerlayout.go
diff options
context:
space:
mode:
authorAdnan Maolood <me@adnano.co>2022-01-22 21:35:40 -0500
committerRobin Jarry <robin@jarry.cc>2022-01-24 12:06:41 +0100
commit6be78781a10a5fce78148599eba62cb2ea8822cb (patch)
tree30be9e7bb67800b9471ed7402beea9ea9b456c96 /widgets/headerlayout.go
parentd922d7325c7b50425b60f84fc7be1f8d32ec86fd (diff)
downloadaerc-6be78781a10a5fce78148599eba62cb2ea8822cb.tar.gz
aerc: shutdown if socket communication fails
When provided with a mailto argument, aerc tries to connect to an existing instance via a unix socket. If that fails, it starts up a new instance and tries again. However, if that fails again (e.g. if the unix server could not be started) then the new instance will remain open without any indication that an error occured. Instead, shutdown the new instance so the user can see the error message.
Diffstat (limited to 'widgets/headerlayout.go')
0 files changed, 0 insertions, 0 deletions