mirror of
https://github.com/google/nomulus
synced 2026-01-10 07:57:58 +00:00
Exit with error code when user is not logged in
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226390329
This commit is contained in:
@@ -170,6 +170,7 @@ final class RegistryCli implements AutoCloseable, CommandRunner {
|
||||
System.err.println("===================================================================");
|
||||
System.err.println("You must login using 'nomulus login' prior to running this command.");
|
||||
System.err.println("===================================================================");
|
||||
System.exit(1);
|
||||
} else {
|
||||
throw ex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user