Remove unnecessary else.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
78e8e6b92e
commit
90f9cecf7b
|
@ -91,10 +91,7 @@ void MastoAPI::post_item(const Item &item)
|
||||||
{
|
{
|
||||||
throw HTTPException{ret.http_error_code};
|
throw HTTPException{ret.http_error_code};
|
||||||
}
|
}
|
||||||
else
|
throw MastodonException{ret.error_code};
|
||||||
{
|
|
||||||
throw MastodonException{ret.error_code};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
BOOST_LOG_TRIVIAL(debug) << "Posted status with GUID: " << item.guid;
|
BOOST_LOG_TRIVIAL(debug) << "Posted status with GUID: " << item.guid;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue