Browse Source

mergerfs_webui.cpp

Antonio SJ Musumeci 3 weeks ago
parent
commit
e9410f5e4d
  1. 3
      src/mergerfs_webui.cpp

3
src/mergerfs_webui.cpp

@ -5,6 +5,7 @@
#include "mergerfs_api.hpp" #include "mergerfs_api.hpp"
#include "str.hpp" #include "str.hpp"
#include "fmt/core.h"
#include "httplib.h" #include "httplib.h"
#include "json.hpp" #include "json.hpp"
@ -305,7 +306,7 @@ _generate_error(const fs::path &mount_,
switch(err_) switch(err_)
{ {
case -EROFS: case -EROFS:
rv["message"] = fmt::format("",key_);
rv["message"] = fmt::format("key '{}' ",key_);
break; break;
case -EINVAL: case -EINVAL:
rv["message"] = ""; rv["message"] = "";

Loading…
Cancel
Save