[RFC] Log error message when no handlers are found.

Also change string interpolation type for consistency. This also fixed a bug using `format`.