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;
}
else
{
throw new FileNotFoundException(
string.Format(
CultureInfo.InvariantCulture,
"Certificate file '{0}' does not exist.",
newPath));
}
throw new FileNotFoundException(
string.Format(
CultureInfo.InvariantCulture,
"Certificate file '{0}' does not exist.",
newPath));
}
return false;

Loading…
Cancel
Save