Apply suggestions from code review

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Nyanmisaka 2020-12-12 02:36:31 +08:00 committed by GitHub
parent 41218c5613
commit d701b67de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -967,15 +967,13 @@ namespace Emby.Server.Implementations
{ {
return true; return true;
} }
else
{
throw new FileNotFoundException( throw new FileNotFoundException(
string.Format( string.Format(
CultureInfo.InvariantCulture, CultureInfo.InvariantCulture,
"Certificate file '{0}' does not exist.", "Certificate file '{0}' does not exist.",
newPath)); newPath));
} }
}
return false; return false;
} }