Remove unnecessary else.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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};
|
||||
}
|
||||
else
|
||||
{
|
||||
throw MastodonException{ret.error_code};
|
||||
}
|
||||
throw MastodonException{ret.error_code};
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(debug) << "Posted status with GUID: " << item.guid;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user