Remove unnecessary else.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-12-28 23:39:56 +01:00
parent 78e8e6b92e
commit 90f9cecf7b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 4 deletions

View File

@ -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;
} }