Skip to content

Commit

Permalink
im dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Sep 1, 2024
1 parent 518b4f5 commit a4c649e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/ObjectWorkshop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bool ObjectWorkshop::setup(bool authenticated) {
auto jsonObj = jsonRes.as_object();
auto isError = jsonRes.try_get<std::string>("error");
if (isError) return Notification::create(isError->c_str(), NotificationIcon::Error)->show();
log::error(jsonRes.dump());
log::error("{}", jsonRes.dump());
return Notification::create("(Tags) Expected array, but got object.", NotificationIcon::Error)->show();
}
matjson::Array jsonArr = jsonRes.as_array();
Expand Down

0 comments on commit a4c649e

Please sign in to comment.