diff options
| -rw-r--r-- | lib/mu-server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mu-server.cc b/lib/mu-server.cc index b4ca4b5..e1f62d3 100644 --- a/lib/mu-server.cc +++ b/lib/mu-server.cc @@ -400,7 +400,7 @@ Server::Private::add_handler(const Parameters& params) const auto docid_res{store().add_message(path)}; if (!docid_res) - throw Error(Error::Code::Store, "failed to add message to store"); + throw docid_res.error(); const auto docid{docid_res.value()}; |
