diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-20 11:16:42 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-20 15:31:46 +0200 |
commit | 13f4890c38c9f7f7d6e936d56de550a36916eec2 (patch) | |
tree | 69d94dc0c75984072623a0da09b7637027d7bcb9 /Userland/Applications/Spreadsheet | |
parent | 1474a537b630ef1b6b638164bca9043f0622d617 (diff) | |
download | serenity-13f4890c38c9f7f7d6e936d56de550a36916eec2.zip |
LibCore: Make Core::File::open() return OSError in case of failure
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-rw-r--r-- | Userland/Applications/Spreadsheet/Workbook.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/Workbook.cpp b/Userland/Applications/Spreadsheet/Workbook.cpp index 6df5f71cbb..40c94e12fe 100644 --- a/Userland/Applications/Spreadsheet/Workbook.cpp +++ b/Userland/Applications/Spreadsheet/Workbook.cpp @@ -51,7 +51,7 @@ Result<bool, String> Workbook::load(const StringView& filename) sb.append("Failed to open "); sb.append(filename); sb.append(" for reading. Error: "); - sb.append(file_or_error.error()); + sb.append(file_or_error.error().string()); return sb.to_string(); } |