forked from aniani/vim
patch 9.0.1576: users may not know what to do with an internal error
Problem: Users may not know what to do with an internal error. Solution: Add a translated message with instructions.
This commit is contained in:
@@ -1757,7 +1757,7 @@ invoke_callback(channel_T *channel, callback_T *callback, typval_T *argv)
|
||||
typval_T rettv;
|
||||
|
||||
if (safe_to_invoke_callback == 0)
|
||||
iemsg("INTERNAL: Invoking callback when it is not safe");
|
||||
iemsg("Invoking callback when it is not safe");
|
||||
|
||||
argv[0].v_type = VAR_CHANNEL;
|
||||
argv[0].vval.v_channel = channel;
|
||||
@@ -2400,7 +2400,7 @@ channel_remove_block_id(chanpart_T *chanpart, int id)
|
||||
}
|
||||
return;
|
||||
}
|
||||
siemsg("INTERNAL: channel_remove_block_id: cannot find id %d", id);
|
||||
siemsg("channel_remove_block_id(): cannot find id %d", id);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user