Apply suggestions from code review

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/4767/head
Nyanmisaka 4 years ago committed by GitHub
parent 41218c5613
commit d701b67de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -967,14 +967,12 @@ 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;

Loading…
Cancel
Save