diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-02-06 12:49:51 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-02-16 19:49:41 -0500 |
commit | 1a4dd47d5f691f77f5a11dbb5cdd8d58b2336245 (patch) | |
tree | c5d4303abc40d3c483c05e41e5fe02d76564294c /Userland/Services/Taskbar | |
parent | decdd6b61a9c4c2c8ab4c911a32928c4dc1a3e1d (diff) | |
download | serenity-1a4dd47d5f691f77f5a11dbb5cdd8d58b2336245.zip |
AK: VERIFY inside release_value_but_fixme_should_propagate_errors()
While the code did already VERIFY that the ErrorOr holds a value, this
was done by Variant, so the error message was just that `has<T>()` is
false. This is less helpful than I would like, especially if backtraces
are not working and this is all you have to go on. Adding this extra
VERIFY means the assertion message (`!is_error()`) is easier to
understand.
Diffstat (limited to 'Userland/Services/Taskbar')
0 files changed, 0 insertions, 0 deletions