mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Change warn -> error in people.report_late_add().
This commit is easy to revert if we want to tone down errors to warnings for the short term, while our codepath still does proper handling for adding users when they come in messages.
This commit is contained in:
		@@ -15,7 +15,7 @@ people.initialize_current_user(me.user_id);
 | 
			
		||||
 | 
			
		||||
(function test_report_late_add() {
 | 
			
		||||
    var message;
 | 
			
		||||
    global.blueslip.warn = function (msg) {
 | 
			
		||||
    global.blueslip.error = function (msg) {
 | 
			
		||||
        message = msg;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -733,7 +733,7 @@ exports.report_late_add = function (user_id, email) {
 | 
			
		||||
    // types of realms.
 | 
			
		||||
    var msg = 'Added user late: user_id=' + user_id + ' email=' + email;
 | 
			
		||||
 | 
			
		||||
    blueslip.warn(msg);
 | 
			
		||||
    blueslip.error(msg);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.extract_people_from_message = function (message) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user