Skip to content

Commit

Permalink
remove double file name in console output when script not found
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed May 23, 2015
1 parent 432bc10 commit 60dfa75
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ScriptCs/Command/ExecuteScriptCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ public CommandResult Execute()
_scriptExecutor.Terminate();
return commandResult;
}
catch (FileNotFoundException ex)
{
_logger.ErrorFormat("{0} - '{1}'.", ex, ex.Message, ex.FileName);
return CommandResult.Error;
}
catch (Exception ex)
{
_logger.ErrorException("Error executing script '{0}'", ex, _script);
Expand Down

0 comments on commit 60dfa75

Please sign in to comment.