Remove unnecessary else.
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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