[Bug Report] No error message when executing an invalid ex command
### Version

Nightly

### Category

Minor — The software basically does what it should do but there might be improvements.

### Steps to Reproduce

Execute an invalid ex command.

```
:abc
```
Returns to the previous mode without displaying an error.



### Detailed Description

_No response_