File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public async Task<int> ExecuteCommand(CommandLineParser parser)
103103
104104 if ( parser . IsCommand ( "run" ) && ! configManager . IsConfigured ( ) )
105105 {
106- throw new InvalidOperationException ( "Cannot run. Must configure first. " ) ;
106+ throw new InvalidOperationException ( "CanNotRunAgent " ) ;
107107 }
108108
109109 Trace . Info ( "Done evaluating commands" ) ;
Original file line number Diff line number Diff line change 2727 "CanNotFindSystemd" : " Can not find if systemd is installed" ,
2828 "CanNotGrantPermission" : " Can not grant LogonAsService permission to the user {0}" ,
2929 "CanNotInstallService" : " Can not install the service, check the logs for more details " ,
30+ "CanNotRunAgent" : " Cannot run. Must configure first" ,
3031 "CanNotSetPermissionForAccount" : " Can not set permission for service account, check the logs for more details" ,
3132 "CanNotStartService" : " Can not start the service, check the logs for more details" ,
3233 "CanNotStopService" : " Can not stop the service {0} in a timely fashion, please stop the service and reconfigure again" ,
You can’t perform that action at this time.
0 commit comments