diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-02-21 16:59:16 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-02-21 16:59:16 +1100 |
| commit | fa060c2a17e0b52dd5fb3fcd73aab3d176536fb8 (patch) | |
| tree | cc3503fe6eb406cb3881c6e4d78afcb8605daeb1 /src/string_utils.hh | |
| parent | be49f362059c641ea58807cde3571b14be2cabe7 (diff) | |
Fix fatal exception when checking if buffer needs to be reloaded
If, for example, the buffer path now is a directory, MappedFile will
throw on construction. Using a try block to explicitely allow errors
fixes the issue.
Diffstat (limited to 'src/string_utils.hh')
0 files changed, 0 insertions, 0 deletions
