Skip to content

Commit 60dfa75

Browse files
committed
remove double file name in console output when script not found
1 parent 432bc10 commit 60dfa75

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ScriptCs/Command/ExecuteScriptCommand.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ public CommandResult Execute()
7171
_scriptExecutor.Terminate();
7272
return commandResult;
7373
}
74-
catch (FileNotFoundException ex)
75-
{
76-
_logger.ErrorFormat("{0} - '{1}'.", ex, ex.Message, ex.FileName);
77-
return CommandResult.Error;
78-
}
7974
catch (Exception ex)
8075
{
8176
_logger.ErrorException("Error executing script '{0}'", ex, _script);

0 commit comments

Comments
 (0)