When a user tries to call a function that emits some event during the function call the emitted event is not visible in the console. 