diff --git a/src/fs_unix.cpp b/src/fs_unix.cpp index 95c5cf1a6..d499e6a5c 100644 --- a/src/fs_unix.cpp +++ b/src/fs_unix.cpp @@ -81,7 +81,7 @@ FD FS::openFile(path_t filepath) { int fd = open(filepath.c_str(), O_RDONLY); if (fd == -1) { - throw std::runtime_error(""); + throw std::runtime_error("Error opening file: " + filepath); } return FD(fd); }