Not handling an error
Mistake
Completely omitting the error.
notify()
Fix
Acknowledging that an error was returned, but we are ignoring it.
_ = notify()
Completely omitting the error.
notify()
Acknowledging that an error was returned, but we are ignoring it.
_ = notify()